Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
resolve_ref(): expose REF_ISBROKEN flag
[gitweb.git]
/
refs.h
diff --git
a/refs.h
b/refs.h
index d5ac133336dc0da45cd916207d12a5e0e4237ae3..e4578856d7c2425ac26df025e1027198f9cb63a5 100644
(file)
--- a/
refs.h
+++ b/
refs.h
@@
-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,