summaryrefslogtreecommitdiff
path: root/cache.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2013-03-19 15:53:17 -0700
committerJunio C Hamano <gitster@pobox.com>2013-04-26 16:09:21 -0700
commit808d3d717e86be597aa94d4a26f82a0ba5a53c22 (patch)
tree028d2eed0ffc04635571e699e7e640e28c0ee2f3 /cache.h
parentb75cdfaa882a00f2274e74b21c1a9927d184ed29 (diff)
downloadgit-808d3d717e86be597aa94d4a26f82a0ba5a53c22.tar.gz
git add: -u/-A now affects the entire working treejn/add-2.0-u-A-sans-pathspec
As promised in 0fa2eb530fb7 (add: warn when -u or -A is used without pathspec, 2013-01-28), in Git 2.0, "git add -u/-A" that is run without pathspec in a subdirectory updates all updated paths in the entire working tree, not just the current directory and its subdirectories. Signed-off-by: Jonathan Nieder <jrnieder@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
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 94ca1acf70..99acf80d2f 100644
--- a/cache.h
+++ b/cache.h
@@ -466,7 +466,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, int refresh);