From: Jean-Luc Herren Date: Wed, 05 Mar 2008 22:44:10 GMT Subject: Re: How to make gitk not overwrite my selection? Message-ID: <47CF223A.60507@gmx.ch> In-Reply-To: <20080304230306.GA18246@sigill.intra.peff.net> Jeff King wrote: > On Tue, Mar 04, 2008 at 04:39:08PM +0100, Jean-Luc Herren wrote: >> In gitk, whenever I select a commit in the tree, the SHA1 field >> gets automatically selected, putting its hash into the current >> selection for easy pasting into other applications. > The patch below seems to work for me (see the "auto-select sha1" option > under preferences). However, I don't actually know tcl, so I > cargo-culted all of the option processing magic. Paul, if you want to > take this patch, please read it carefully. ;) Thanks, I don't know tcl either, but the patch seems to work great here. jlh