Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
[PATCH 3/7] _git: re-order the last two git-blame arguments
- X-seq: zsh-workers 31859
- From: Øystein Walle <oystwa@xxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: [PATCH 3/7] _git: re-order the last two git-blame arguments
- Date: Sun, 20 Oct 2013 19:41:01 +0200
- Cc: Øystein Walle <oystwa@xxxxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references :in-reply-to:references; bh=iRYM0gmXpr+FX9KdLx1wPd4IzgNDkjI6z+qWi4M96ss=; b=SthRpA9dWCiQafg7JC4svBfwU2alFJkP/Gxt3dee5/bbgsCK5qyXYGddlpgO4D8Q2E 5Q1Rx7WtnXObmaQSJPbU9o2bydWKaHYaDZmKFPRp0tEpKGMSDW2laJJkFhufjFdxrkkP 9guwQnfTvhE627drklchbt6vYGRGWiIh3xpTuVnBswh3fnRAZN0BNBo/bh7nfCqiNmXB S0Ji2/AsCttKKFx0lG40GlBkc8+02Gb3CcT8n5j1bL1is+LI44lGmReC+CiCKJHoZNWn p9mo08udiQXQMx7vS/KlikCOL1gDHNr1nNVGWDn2hVgB8ZhwBWRTy1e6wMffoZKo7+va z+ww==
- In-reply-to: <cover.1382290245.git.oystwa@gmail.com>
- In-reply-to: <cover.1382290245.git.oystwa@gmail.com>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <cover.1382290245.git.oystwa@gmail.com>
- References: <cover.1382290245.git.oystwa@gmail.com>
The proper syntax is git blame [<commit>] <file> where <commit> is optional.
---
Completion/Unix/Command/_git | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Completion/Unix/Command/_git b/Completion/Unix/Command/_git
index 63aa785..2edf116 100644
--- a/Completion/Unix/Command/_git
+++ b/Completion/Unix/Command/_git
@@ -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)
--
1.8.4.1.516.g1d25dd4
Messages sorted by:
Reverse Date,
Date,
Thread,
Author