diff options
author | Paul Mackerras <paulus@samba.org> | 2007-12-07 20:50:09 +1100 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-12-07 20:50:09 +1100 |
commit | f78e7ab736467a0ae98695a8c661fe46fc93c50f (patch) | |
tree | 0c6c4ae1938906e1abc721a5b83b98d0979cb6cf | |
parent | 38dfe939162af50fb09088c4a888b1c719f328cc (diff) | |
download | git-f78e7ab736467a0ae98695a8c661fe46fc93c50f.tar.gz |
gitk: Fix bug in parsing multiple revision arguments
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>
-rwxr-xr-x | gitk | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -106,7 +106,7 @@ proc start_rev_list {view} { 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 { |