author | Paul Mackerras <paulus@samba.org> | |
Thu, 10 Jan 2008 10:44:39 +0000 (21:44 +1100) | ||
committer | Paul Mackerras <paulus@samba.org> | |
Thu, 10 Jan 2008 10:44:39 +0000 (21:44 +1100) | ||
commit | 5be25a8f8560a88145ea31f0ca530393ee2094da | |
tree | e7afb016440cf868c98217534e157ff1836693bf | tree | snapshot |
parent | 6636b88ea127d2dc88b5d5872e29aec35acd2b6e | commit | diff |
gitk: Fix handling of flag arguments
Despite the name, the --revs-only flag to git rev-parse doesn't make
it output only revision IDs. It makes it output only arguments that
are suitable for giving to git rev-list. So make start_rev_list and
updatecommits cope with arguments output by git rev-parse that aren't
revision IDs. This way we won't get an error when an argument such as
"-300" has been given to gitk and the view is updated.
Signed-off-by: Paul Mackerras <paulus@samba.org>
Despite the name, the --revs-only flag to git rev-parse doesn't make
it output only revision IDs. It makes it output only arguments that
are suitable for giving to git rev-list. So make start_rev_list and
updatecommits cope with arguments output by git rev-parse that aren't
revision IDs. This way we won't get an error when an argument such as
"-300" has been given to gitk and the view is updated.
Signed-off-by: Paul Mackerras <paulus@samba.org>
gitk | diff | blob | history |