summaryrefslogtreecommitdiff
path: root/builtin/merge.c
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2011-12-13 21:47:08 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2011-12-13 21:47:08 -0800
commit3b425656a469722d9c45b7c88e0e01a9cd8c0fd3 (patch)
tree189b98866ea410ba2a94a578b4c7261b4f52e434 /builtin/merge.c
parentMerge branch 'maint-1.7.6' into maint-1.7.7 (diff)
parentcheckout,merge: loosen overwriting untracked file check based on info/exclude (diff)
downloadtgif-3b425656a469722d9c45b7c88e0e01a9cd8c0fd3.tar.xz
Merge branch 'nd/maint-ignore-exclude' into maint-1.7.7
* nd/maint-ignore-exclude: checkout,merge: loosen overwriting untracked file check based on info/exclude
Diffstat (limited to 'builtin/merge.c')
-rw-r--r--builtin/merge.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/merge.c b/builtin/merge.c
index 581f494aee..b22a842238 100644
--- a/builtin/merge.c
+++ b/builtin/merge.c
@@ -759,7 +759,7 @@ int checkout_fast_forward(const unsigned char *head, const unsigned char *remote
memset(&t, 0, sizeof(t));
memset(&dir, 0, sizeof(dir));
dir.flags |= DIR_SHOW_IGNORED;
- dir.exclude_per_dir = ".gitignore";
+ setup_standard_excludes(&dir);
opts.dir = &dir;
opts.head_idx = 1;