summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 38dfe93)
raw | patch | inline | side by side (parent: 38dfe93)
author | Paul Mackerras <paulus@samba.org> | |
Fri, 7 Dec 2007 09:50:09 +0000 (20:50 +1100) | ||
committer | Paul Mackerras <paulus@samba.org> | |
Fri, 7 Dec 2007 09:50:09 +0000 (20:50 +1100) |
If the user specified multiple revisions arguments on the command
line or for a view, we were passing the whole list of arguments to
git rev-parse as a single argument, and thus git rev-parse didn't
interpret it as revisions. This fixes it by adding an eval so the
arguments get passed to git rev-parse as separate arguments.
Signed-off-by: Paul Mackerras <paulus@samba.org>
line or for a view, we were passing the whole list of arguments to
git rev-parse as a single argument, and thus git rev-parse didn't
interpret it as revisions. This fixes it by adding an eval so the
arguments get passed to git rev-parse as separate arguments.
Signed-off-by: Paul Mackerras <paulus@samba.org>
gitk | patch | blob | history |
index e0eb3d0f8ece7d8253eab5550367558f8cffc6de..46f9a35ffae5d04f8e208ab6715fef51814642a9 100755 (executable)
--- a/gitk
+++ b/gitk
set vnextroot($view) 0
varcinit $view
- set commits [exec git rev-parse --default HEAD --revs-only \
+ set commits [eval exec git rev-parse --default HEAD --revs-only \
$viewargs($view)]
set viewincl($view) {}
foreach c $commits {