Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Document --unified/-U option
[gitweb.git]
/
gitk
diff --git
a/gitk
b/gitk
index b9219c2c70c64ab70b29ce3f0416037af080f0fe..39e452aba96ec0c15fcdefcfb10bff05d6631eb9 100755
(executable)
--- a/
gitk
+++ b/
gitk
@@
-7478,9
+7478,9
@@
set revtreeargs {}
set cmdline_files {}
set i 0
foreach arg $argv {
- switch -
regexp -
- $arg {
- "
^$
" { }
- "
^
-d" { set datemode 1 }
+ switch -- $arg {
+ "" { }
+ "-d" { set datemode 1 }
"--" {
set cmdline_files [lrange $argv [expr {$i + 1}] end]
break