git-commit-vandalism/refs
Michael Haggerty a70a93b794 resolve_ref_unsafe(): ensure flags is always set
If the caller passes flags==NULL, then set it to point at a local
scratch variable. This removes the need for a lot of "if (flags)"
guards in resolve_ref_1() and resolve_missing_loose_ref().

Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
Signed-off-by: David Turner <dturner@twopensource.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2016-04-10 11:35:17 -07:00
..
files-backend.c resolve_ref_unsafe(): ensure flags is always set 2016-04-10 11:35:17 -07:00
refs-internal.h refs: move for_each_*ref* functions into common code 2016-04-10 11:34:55 -07:00