On 10/11/07, Johannes Schindelin <Johannes.Schindelin@xxxxxx> wrote: > On Wed, 10 Oct 2007, Lars Hjemli wrote: > > + if (kinds & REF_LOCAL_BRANCH) { > > + ref_list.kinds = REF_LOCAL_BRANCH; > > + for_each_branch_ref(append_ref, &ref_list); > > + } > > The function for_each_branch_ref() calls do_for_each_ref(), which in turn > calls get_loose_refs(), which calls get_ref_dir() to read all loose refs, > if they have not yet been read. Ok, I'll see if get_loose_refs() could take 'const char *base' and pass this on to get_ref_dir(), which should solve the problem. Thanks for noticing. -- larsh - 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