summaryrefslogtreecommitdiff
path: root/src/diff.h
diff options
context:
space:
mode:
authorRussell Belfer <rb@github.com>2013-11-01 13:49:43 -0700
committerRussell Belfer <rb@github.com>2013-11-01 13:49:43 -0700
commit3e57069e821ecf966c3de9c79923cd77657e923b (patch)
tree332412c9adab34638b87f77ba890fd43a5a1ffed /src/diff.h
parente7c85120eab6c942d15c0f5ed3a2c8b6ec667617 (diff)
downloadlibgit2-3e57069e821ecf966c3de9c79923cd77657e923b.tar.gz
Fix --assume-unchanged support
This was never really working right because we were checking the wrong flag and not checking it in all the places that we need to be checking it. I finally got around to writing a test and adding actual support for it.
Diffstat (limited to 'src/diff.h')
-rw-r--r--src/diff.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/diff.h b/src/diff.h
index 270bea071..2c9298a5f 100644
--- a/src/diff.h
+++ b/src/diff.h
@@ -23,7 +23,7 @@
enum {
GIT_DIFFCAPS_HAS_SYMLINKS = (1 << 0), /* symlinks on platform? */
- GIT_DIFFCAPS_ASSUME_UNCHANGED = (1 << 1), /* use stat? */
+ GIT_DIFFCAPS_IGNORE_STAT = (1 << 1), /* use stat? */
GIT_DIFFCAPS_TRUST_MODE_BITS = (1 << 2), /* use st_mode? */
GIT_DIFFCAPS_TRUST_CTIME = (1 << 3), /* use st_ctime? */
GIT_DIFFCAPS_USE_DEV = (1 << 4), /* use st_dev? */