summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: dc7b243)
raw | patch | inline | side by side (parent: dc7b243)
author | Junio C Hamano <junkio@cox.net> | |
Sun, 18 Feb 2007 02:12:46 +0000 (18:12 -0800) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Sun, 18 Feb 2007 08:54:04 +0000 (00:54 -0800) |
Signed-off-by: Junio C Hamano <junkio@cox.net>
builtin-apply.c | patch | blob | history |
diff --git a/builtin-apply.c b/builtin-apply.c
index fc1d6730d9af0495fe6162c07a545da08aeb0be2..2784db2efb5030c819f41b6c880f53e8876ec023 100644 (file)
--- a/builtin-apply.c
+++ b/builtin-apply.c
prefix = setup_git_directory_gently(&is_not_gitdir);
prefix_length = prefix ? strlen(prefix) : 0;
- if (!is_not_gitdir) {
- git_config(git_apply_config);
- if (apply_default_whitespace)
- parse_whitespace_option(apply_default_whitespace);
- }
+ git_config(git_apply_config);
+ if (apply_default_whitespace)
+ parse_whitespace_option(apply_default_whitespace);
for (i = 1; i < argc; i++) {
const char *arg = argv[i];