Karthik Nayak writes:
> @@ -681,14 +684,12 @@ static int print_ref_list(int kinds, int detached, int
> verbose, int abbrev, stru
>
> qsort(ref_list.list, ref_list.index, sizeof(struct ref_item), ref_cmp);
>
> - detached = (detached && (kinds & REF_LOCAL_BRANCH));
> - if (detach
Remove show_detached() and make detached HEAD to be rolled into
regular ref_list by adding REF_DETACHED_HEAD as a kind of branch and
supporting the same in append_ref(). This eliminates the need for an
extra function and helps in easier porting of branch.c to use
ref-filter APIs.
Before show_detac
2 matches
Mail list logo