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:
parent
7872a5becd
commit
5585b95f3c
2 changed files with 5 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue