From: Sitaram Chamarty Date: Wed, 1 Jul 2009 16:00:31 +0000 (+0530) Subject: Documentation: update description of shell aliases X-Git-Tag: v1.6.4-rc0~10^2~2 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=595b8dbfeefc2f1b0b47c4d2b947a1068bb37aeb;p=git.git 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 Signed-off-by: Junio C Hamano --- diff --git a/Documentation/config.txt b/Documentation/config.txt index 5dcad94f8..c06eca43d 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