Commits

Anonymous committed d60a6a6 Merge

Merge branch 'master' of git://git.kernel.org/pub/scm/gitk/gitk

* 'master' of git://git.kernel.org/pub/scm/gitk/gitk:
gitk: Fix bug introduced by previous commit

  • Participants
  • Parent commits 793ad04, 6ebedab

Comments (0)

Files changed (1)

 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