1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-03 22:32:12 +02:00

31859: _git: re-order the last two git-blame arguments

The proper syntax is git blame [<commit>] <file> where <commit> is optional.
This commit is contained in:
Øystein Walle 2013-10-20 19:41:01 +02:00 committed by Frank Terbeck
parent 7872a5becd
commit 5585b95f3c
2 changed files with 5 additions and 2 deletions

View file

@ -6,6 +6,9 @@
* 31854: Completion/Unix/Command/_git: _git: Make git-show accept
diff arguments
* 31859: Completion/Unix/Command/_git: _git: re-order the last two
git-blame arguments
2013-10-19 Peter Stephenson <p.w.stephenson@ntlworld.com>
* 31851: Src/exec.c: execstring() should display string to

View file

@ -3148,8 +3148,8 @@ _git-blame () {
'-s[suppress author name and timestamp]' \
'-w[ignore whitespace when finding lines]' \
$revision_options \
': :__git_cached_files' \
':: :__git_revisions' && ret=0
':: :__git_revisions' \
': :__git_cached_files' && ret=0
case $state in
(line-range)