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 <patthoyts@users.sourceforge.net>
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