projects
/
git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add "git commit --all" since everybody seems to want it.
[git.git]
/
diffcore.h
diff --git
a/diffcore.h
b/diffcore.h
index
ac159d7
..
f1b5ca7
100644
(file)
--- a/
diffcore.h
+++ b/
diffcore.h
@@
-33,7
+33,7
@@
struct diff_filespec {
* if false, use the name and read from
* the filesystem.
*/
* if false, use the name and read from
* the filesystem.
*/
-#define DIFF_FILE_VALID(spec) ((
spec) && (
(spec)->mode) != 0)
+#define DIFF_FILE_VALID(spec) (((spec)->mode) != 0)
unsigned should_free : 1; /* data should be free()'ed */
unsigned should_munmap : 1; /* data should be munmap()'ed */
};
unsigned should_free : 1; /* data should be free()'ed */
unsigned should_munmap : 1; /* data should be munmap()'ed */
};