Re: [PATCH 01/10] ref-filter: add option to filter only branches

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Aug 13, 2015 at 10:22 PM, Matthieu Moy <matthieu.moy@xxxxxxx> wrote:
>
>
> Le 13 août 2015 13:35:21 GMT+02:00, Karthik Nayak <karthik.188@xxxxxxxxx> a écrit :
>>On Thu, Aug 13, 2015 at 4:21 PM, Karthik Nayak <karthik.188@xxxxxxxxx>
>>wrote:
>>>
>>> This was taken from branch.c, I thought of using an enum instead but
>>that
>>> would again require most of branch.c, hence it's been carried over
>>> without changing
>>> I'm thinking of changing it, any suggestions?
>>>
>>
>>What I was thinking was of having:
>>
>>#define FILTER_REFS_INCLUDE_BROKEN 0x1
>>#define FILTER_REFS_TAGS 0x2
>>#define FILTER_REFS_BRANCHES 0x4
>>#define FILTER_REFS_REMOTES 0x8
>>#define FILTER_REFS_DETACHED_HEAD 0x16
>
> You meant 0x10, not 0x16 I guess.
>

Yea! Of course, was randomly typing out an example :)


-- 
Regards,
Karthik Nayak
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]