From: Jonas Fonseca Date: Mon, 25 Jul 2011 01:29:10 GMT Subject: Re: git-show / tig: no indention for commit message Message-ID: In-Reply-To: <20110511113655.GB24644@nibiru.local> On Wed, May 11, 2011 at 07:36, Enrico Weigelt wrote: > I often have to copy+paste commit messages from tig (when putting > changes into TFS manually ;-o), and the 4-spaces indention is quite > unhandy here. Is there a way to switch it off ? Why not configure a keybinding to run a small shell script, where you can use xclip or something similar to copy to the clipboard? The following .git/config example abuses a git alias (in place of a shell script) to output the raw commit text when P is pressed: [tig "bind"] generic = P !git copy-commit-message %(commit) [alias] copy-commit-message = !"git log --format=%B -1" -- Jonas Fonseca