commit | 266b18273a742a33970e634d1858f292befdf943 | [log] [tgz] |
---|---|---|
author | David Turner <dturner@twopensource.com> | Fri Jul 31 02:06:18 2015 -0400 |
committer | Junio C Hamano <gitster@pobox.com> | Fri Jul 31 10:39:04 2015 -0700 |
tree | 11a91064dada002949a634393882489543e12db1 | |
parent | 2036cb98d00b888262c3dbfad7e14ffd95165028 [diff] |
refs: add ref_type function Add a function ref_type, which categorizes refs as per-worktree, pseudoref, or normal ref. Later, we will use this in refs.c to treat pseudorefs specially. Alternate ref backends may use it to treat both pseudorefs and per-worktree refs differently. Signed-off-by: David Turner <dturner@twopensource.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>