Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
lockfile: move REPORT_ON_ERROR bit elsewhere
author
Junio C Hamano
<gitster@pobox.com>
Tue, 27 Dec 2016 17:12:09 +0000
(09:12 -0800)
committer
Junio C Hamano
<gitster@pobox.com>
Tue, 27 Dec 2016 17:12:09 +0000
(09:12 -0800)
There was LOCK_NO_DEREF defined as 2 = 1<<1 with the same value,
which was missed due to a huge comment block. Deconflict by moving
the new one to 4 = 1<<2 for now.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
lockfile.h
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
3f061bf
)
diff --git
a/lockfile.h
b/lockfile.h
index 16775a7d79bba00c297b6193f6117dfedcd3d70a..7b715f9e7754882061dde0220d13fdc7d0d6c252 100644
(file)
--- a/
lockfile.h
+++ b/
lockfile.h
@@
-137,7
+137,7
@@
struct lock_file {
* ... this flag can be passed instead to return -1 and give the usual
* error message upon an error.
*/
-#define LOCK_REPORT_ON_ERROR
2
+#define LOCK_REPORT_ON_ERROR
4
/*
* Usually symbolic links in the destination path are resolved. This