diff options
author | Junio C Hamano <gitster@pobox.com> | 2011-10-21 16:04:36 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2011-10-21 16:04:36 -0700 |
commit | 0445ba2457b066a70334877f2d638e1f7a974220 (patch) | |
tree | 15c01cdcf04d8a5620ed64f37008bef9a127957c /refs.h | |
parent | 2f18b4642d6ea052cb6ad85f3a013a33b6afbe92 (diff) | |
parent | 55956350024f0706294001cb50d513cf0fa038a1 (diff) | |
download | git-0445ba2457b066a70334877f2d638e1f7a974220.tar.gz git-0445ba2457b066a70334877f2d638e1f7a974220.tar.xz |
Merge branch 'jc/broken-ref-dwim-fix'
* jc/broken-ref-dwim-fix:
resolve_ref(): report breakage to the caller without warning
resolve_ref(): expose REF_ISBROKEN flag
refs.c: move dwim_ref()/dwim_log() from sha1_name.c
Diffstat (limited to 'refs.h')
-rw-r--r-- | refs.h | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -10,8 +10,9 @@ struct ref_lock { int force_write; }; -#define REF_ISSYMREF 01 -#define REF_ISPACKED 02 +#define REF_ISSYMREF 0x01 +#define REF_ISPACKED 0x02 +#define REF_ISBROKEN 0x04 /* * Calls the specified function for each ref file until it returns nonzero, |