Re: [PATCH] gitk: parse arbitrary commit-ish in SHA1 field
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Aug 11, 2009, 05:13 UTC
- Message-ID
- <7vtz0fndak.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <f7e6f82a33aa8496de81262d641953534089e980.1249742874.git.trast@student.ethz.ch>
Thomas Rast <trast@student.ethz.ch> writes:
> + } else {
> + if {[catch {set id [exec git rev-parse $sha1string]}]} {"--verify", or "--no-flags --revs-only"? Examples of possible bad input strings that you may otherwise not catch are:
master..
--merge -- a