From 7f289ca8370e5e2f9622a4fbc30b934eb97b984f Mon Sep 17 00:00:00 2001 From: Pat Thoyts Date: Tue, 22 Sep 2009 00:55:50 +0100 Subject: [PATCH] Avoid expanding --all when passing arguments to git log. There is no need to expand --all into a list of all revisions as git log can accept --all as an argument. This avoids any command-line length limitations caused by expanding --all into a list of all revision ids. Signed-off-by: Pat Thoyts --- gitk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gitk b/gitk index a0214b7..635b97e 100755 --- a/gitk +++ b/gitk @@ -241,6 +241,8 @@ proc parseviewrevs {view revs} { if {$revs eq {}} { set revs HEAD + } elseif {$revs eq "--all"} { + return $revs } if {[catch {set ids [eval exec git rev-parse $revs]} err]} { # we get stdout followed by stderr in $err -- 2.23.0