summaryrefslogtreecommitdiff
path: root/builtin/checkout.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2011-12-13 21:58:51 -0800
committerJunio C Hamano <gitster@pobox.com>2011-12-13 21:58:51 -0800
commit8311158c66e0d83df950ea837fb1cb332c51f798 (patch)
treed36f54375886bb0939416986d92aa8842ce29711 /builtin/checkout.c
parent10dd3b2bf1444695416c0dac951297acf7d4e5e4 (diff)
parent66c11f02b031aca6f1756086fefdf4b8a5575c56 (diff)
downloadgit-8311158c66e0d83df950ea837fb1cb332c51f798.tar.gz
Merge branch 'maint-1.7.7' into maint
* maint-1.7.7: Git 1.7.7.5 Git 1.7.6.5 blame: don't overflow time buffer fetch: create status table using strbuf checkout,merge: loosen overwriting untracked file check based on info/exclude cast variable in call to free() in builtin/diff.c and submodule.c apply: get rid of useless x < 0 comparison on a size_t type Conflicts: Documentation/git.txt GIT-VERSION-GEN RelNotes builtin/fetch.c
Diffstat (limited to 'builtin/checkout.c')
-rw-r--r--builtin/checkout.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/checkout.c b/builtin/checkout.c
index 2a80772425..51840b9784 100644
--- a/builtin/checkout.c
+++ b/builtin/checkout.c
@@ -411,7 +411,7 @@ static int merge_working_tree(struct checkout_opts *opts,
topts.fn = twoway_merge;
topts.dir = xcalloc(1, sizeof(*topts.dir));
topts.dir->flags |= DIR_SHOW_IGNORED;
- topts.dir->exclude_per_dir = ".gitignore";
+ setup_standard_excludes(topts.dir);
tree = parse_tree_indirect(old->commit ?
old->commit->object.sha1 :
EMPTY_TREE_SHA1_BIN);