summaryrefslogtreecommitdiffstats
path: root/cache.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2014-03-08 00:14:01 +0100
committerJunio C Hamano <gitster@pobox.com>2014-03-08 00:14:02 +0100
commit053a6b18074e12876d60da952d8a668631b21a64 (patch)
treed211cc6a40f5b4c916c34a7d187a7c90e398dd37 /cache.h
parentMerge branch 'jc/push-2.0-default-to-simple' (diff)
parentgit add: -u/-A now affects the entire working tree (diff)
downloadgit-053a6b18074e12876d60da952d8a668631b21a64.tar.xz
git-053a6b18074e12876d60da952d8a668631b21a64.zip
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);