[PATCH 3/3] bash completion: log --date, --no-date and --date=normal

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The preceding patches made the argument to --date optional and
introduced --date=normal and --no-date.  Teach the bash completion
about this.

Signed-off-by: Thomas Rast <trast@xxxxxxxxxxxxxxx>
---
 contrib/completion/git-completion.bash |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash
index 745b5fb..4ddeacf 100755
--- a/contrib/completion/git-completion.bash
+++ b/contrib/completion/git-completion.bash
@@ -1143,7 +1143,7 @@ __git_log_shortlog_options="
 "
 
 __git_log_pretty_formats="oneline short medium full fuller email raw format:"
-__git_log_date_formats="relative iso8601 rfc2822 short local default raw"
+__git_log_date_formats="relative iso8601 rfc2822 short local default raw normal"
 
 _git_log ()
 {
@@ -1178,7 +1178,7 @@ _git_log ()
 			--root --topo-order --date-order --reverse
 			--follow --full-diff
 			--abbrev-commit --abbrev=
-			--relative-date --date=
+			--relative-date --date= --date --no-date
 			--pretty= --format= --oneline
 			--cherry-pick
 			--graph
-- 
1.6.4.rc3.218.gb7ac

--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]