author | Junio C Hamano <gitster@pobox.com> | |
Wed, 26 Oct 2011 23:08:14 +0000 (16:08 -0700) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Wed, 26 Oct 2011 23:08:14 +0000 (16:08 -0700) |
* maint-1.7.4:
make the sample pre-commit hook script reject names with newlines, too
Reindent closing bracket using tab instead of spaces
Documentation/git-update-index: refer to 'ls-files'
make the sample pre-commit hook script reject names with newlines, too
Reindent closing bracket using tab instead of spaces
Documentation/git-update-index: refer to 'ls-files'
1 | 2 | |||
---|---|---|---|---|
Documentation/git-update-index.txt | patch | | diff1 | | diff2 | | blob | history |
wt-status.c | patch | | diff1 | | diff2 | | blob | history |
diff --cc Documentation/git-update-index.txt
index d3931294d174e5c06adb81e428e31e00fbfa3b5e,c30f8cd44b55f4f2ff5edadb070247d19b2400ad..a3081f4e237747dc858fd105302cbb9a489de41b
SEE ALSO
--------
linkgit:git-config[1],
- linkgit:git-add[1]
+ linkgit:git-add[1],
+ linkgit:git-ls-files[1]
-
-Author
-------
-Written by Linus Torvalds <torvalds@osdl.org>
-
-Documentation
---------------
-Documentation by David Greaves, Junio C Hamano and the git-list <git@vger.kernel.org>.
-
GIT
---
Part of the linkgit:git[1] suite
diff --cc wt-status.c
index 9f4e0ba9c17120ca2903b30b95b6d8fbcc62cd9c,35020776b6fd4a4d1c585b2037dc193acf4e442d..227622d154f12540ddc3e231fbbcb831e07c0a77
--- 1/wt-status.c
--- 2/wt-status.c
+++ b/wt-status.c
if (s->ignore_submodule_arg) {
DIFF_OPT_SET(&rev.diffopt, OVERRIDE_SUBMODULE_CONFIG);
handle_ignore_submodules_arg(&rev.diffopt, s->ignore_submodule_arg);
- }
+ }
rev.diffopt.format_callback = wt_status_collect_changed_cb;
rev.diffopt.format_callback_data = s;
- rev.prune_data = s->pathspec;
+ init_pathspec(&rev.prune_data, s->pathspec);
run_diff_files(&rev, 0);
}