diff options
author | Junio C Hamano <gitster@pobox.com> | 2012-07-11 12:48:44 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-07-11 12:48:44 -0700 |
commit | 36c5109e4a4d455a9aa9e0f8d20c957aa6a9bef8 (patch) | |
tree | 2d746180b910cc20d7129482ca391bbe239ff980 /cache.h | |
parent | 4ac01b0cbc27b314333362e77323850e78a7448c (diff) | |
parent | 304970dd5d9e542e70eca98932c1e9f26770678e (diff) | |
download | git-36c5109e4a4d455a9aa9e0f8d20c957aa6a9bef8.tar.gz |
Merge branch 'th/diff-no-index-fixes' into maint
"git diff --no-index" did not correctly handle relative paths and
did not correctly give exit codes when run under "--quiet" option.
* th/diff-no-index-fixes:
diff-no-index: exit(1) if 'diff --quiet <repo file> <external file>' finds changes
diff: handle relative paths in no-index
Diffstat (limited to 'cache.h')
-rw-r--r-- | cache.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -413,6 +413,7 @@ extern void verify_filename(const char *prefix, const char *name, int diagnose_misspelt_rev); extern void verify_non_filename(const char *prefix, const char *name); +extern int path_inside_repo(const char *prefix, const char *path); #define INIT_DB_QUIET 0x0001 |