From: Junio C Hamano Date: Tue, 11 Aug 2009 05:13:23 GMT Subject: Re: [PATCH] gitk: parse arbitrary commit-ish in SHA1 field Message-ID: <7vtz0fndak.fsf@alter.siamese.dyndns.org> In-Reply-To: Thomas Rast 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