summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorSitaram Chamarty <sitaramc@gmail.com>2009-07-01 16:00:31 (GMT)
committerJunio C Hamano <gitster@pobox.com>2009-07-08 16:45:28 (GMT)
commit595b8dbfeefc2f1b0b47c4d2b947a1068bb37aeb (patch)
treeaf064e6a1b45511ebafe6de483d7e5d0f74659b5 /Documentation
parent653a31c16a0b83c11f00eb94ef49857ce8f2e37b (diff)
downloadgit-595b8dbfeefc2f1b0b47c4d2b947a1068bb37aeb.zip
git-595b8dbfeefc2f1b0b47c4d2b947a1068bb37aeb.tar.gz
git-595b8dbfeefc2f1b0b47c4d2b947a1068bb37aeb.tar.bz2
Documentation: update description of shell aliases
Aliases that invoke shell commands start from the top-level directory, but this was not documented. Signed-off-by: Sitaram Chamarty <sitaramc@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/config.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/Documentation/config.txt b/Documentation/config.txt
index 5dcad94..c06eca4 100644
--- a/Documentation/config.txt
+++ b/Documentation/config.txt
@@ -451,7 +451,9 @@ If the alias expansion is prefixed with an exclamation point,
it will be treated as a shell command. For example, defining
"alias.new = !gitk --all --not ORIG_HEAD", the invocation
"git new" is equivalent to running the shell command
-"gitk --all --not ORIG_HEAD".
+"gitk --all --not ORIG_HEAD". Note that shell commands will be
+executed from the top-level directory of a repository, which may
+not necessarily be the current directory.
apply.whitespace::
Tells 'git-apply' how to handle whitespaces, in the same way