Re: [PATCH v2 05/10] ref-filter: adopt get_head_description() from branch.c

2015-10-10 Thread Karthik Nayak
On Fri, Oct 9, 2015 at 12:31 AM, Matthieu Moy wrote: > Karthik Nayak writes: > >> Copy the implementation of get_head_description() from branch.c. This >> gives a description of the HEAD ref if called. This is used as the >> refname for the HEAD ref whenever the FILTER_REFS_DETACHED_HEAD option

Re: [PATCH v2 05/10] ref-filter: adopt get_head_description() from branch.c

2015-10-08 Thread Matthieu Moy
Karthik Nayak writes: > Copy the implementation of get_head_description() from branch.c. This > gives a description of the HEAD ref if called. This is used as the > refname for the HEAD ref whenever the FILTER_REFS_DETACHED_HEAD option > is used. Make it public because we need it to calculate th

[PATCH v2 05/10] ref-filter: adopt get_head_description() from branch.c

2015-10-08 Thread Karthik Nayak
Copy the implementation of get_head_description() from branch.c. This gives a description of the HEAD ref if called. This is used as the refname for the HEAD ref whenever the FILTER_REFS_DETACHED_HEAD option is used. Make it public because we need it to calculate the length of the HEAD refs descri