summaryrefslogtreecommitdiff
path: root/cache.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2014-03-07 15:14:01 -0800
committerJunio C Hamano <gitster@pobox.com>2014-03-07 15:14:02 -0800
commit053a6b18074e12876d60da952d8a668631b21a64 (patch)
treed211cc6a40f5b4c916c34a7d187a7c90e398dd37 /cache.h
parent009055f3ecd8d9b4eb140429cb5ce5d2088174c7 (diff)
parent808d3d717e86be597aa94d4a26f82a0ba5a53c22 (diff)
downloadgit-053a6b18074e12876d60da952d8a668631b21a64.tar.gz
Merge branch 'jn/add-2.0-u-A-sans-pathspec'
"git add -u" and "git add -A" without any pathspec is a tree-wide operation now, even when they are run in a subdirectory of the working tree.
Diffstat (limited to 'cache.h')
-rw-r--r--cache.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/cache.h b/cache.h
index b7d82e5d52..4c0043113c 100644
--- a/cache.h
+++ b/cache.h
@@ -483,7 +483,6 @@ extern int remove_file_from_index(struct index_state *, const char *path);
#define ADD_CACHE_IGNORE_ERRORS 4
#define ADD_CACHE_IGNORE_REMOVAL 8
#define ADD_CACHE_INTENT 16
-#define ADD_CACHE_IMPLICIT_DOT 32 /* internal to "git add -u/-A" */
extern int add_to_index(struct index_state *, const char *path, struct stat *, int flags);
extern int add_file_to_index(struct index_state *, const char *path, int flags);
extern struct cache_entry *make_cache_entry(unsigned int mode, const unsigned char *sha1, const char *path, int stage, unsigned int refresh_options);