aboutsummaryrefslogtreecommitdiff
path: root/apply.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2024-02-27 16:04:31 -0800
committerJunio C Hamano <gitster@pobox.com>2024-02-27 16:04:31 -0800
commit45072eefef522935c7cb8cbf5ee8226aba2406ac (patch)
treed285109f2a36d81de4f2d653e95f51c390e3f503 /apply.c
parenta2082dbdd315aa4dd3f315545e5b3ab3b3e2d894 (diff)
parenta171dac73496138ba1ac15a6689ee5478c9a88d0 (diff)
downloadgit-45072eefef522935c7cb8cbf5ee8226aba2406ac.tar.xz
Merge branch 'jc/am-whitespace-doc'
"git am --help" now tells readers what actions are available in "git am --whitespace=<action>", in addition to saying that the option is passed through to the underlying "git apply". * jc/am-whitespace-doc: doc: add shortcut to "am --whitespace=<action>"
Diffstat (limited to 'apply.c')
-rw-r--r--apply.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/apply.c b/apply.c
index 355e2b0f2f..432837a674 100644
--- a/apply.c
+++ b/apply.c
@@ -77,7 +77,8 @@ static int parse_whitespace_option(struct apply_state *state, const char *option
return 0;
}
/*
- * Please update $__git_whitespacelist in git-completion.bash
+ * Please update $__git_whitespacelist in git-completion.bash,
+ * Documentation/git-apply.txt, and Documentation/git-am.txt
* when you add new options.
*/
return error(_("unrecognized whitespace option '%s'"), option);