]> git.ipfire.org Git - thirdparty/git.git/commit - refs.c
refs: move head_ref{,_submodule} to the common code
authorDavid Turner <dturner@twopensource.com>
Thu, 7 Apr 2016 19:02:48 +0000 (15:02 -0400)
committerJunio C Hamano <gitster@pobox.com>
Sun, 10 Apr 2016 18:34:41 +0000 (11:34 -0700)
commit2bf68ed5aa79fcccba6ea4c021b15e51c019a85e
tree1a0a859f6f7dbcb7b88c28f97b6edf303d7b04e3
parent274db840b48d144a8f0f8d8bd324365670c67275
refs: move head_ref{,_submodule} to the common code

These don't use any backend-specific functions.  These were previously
defined in terms of the do_head_ref helper function, but since they
are otherwise identical, we don't need that function.

Signed-off-by: David Turner <dturner@twopensource.com>
Reviewed-by: Michael Haggerty <mhagger@alum.mit.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
refs.c
refs/files-backend.c