* git-show / tig: no indention for commit message
@ 2011-05-11 11:36 Enrico Weigelt
2011-07-24 7:36 ` Andreas Schwab
2011-07-25 1:29 ` Jonas Fonseca
0 siblings, 2 replies; 3+ messages in thread
From: Enrico Weigelt @ 2011-05-11 11:36 UTC (permalink / raw)
To: git
Hi folks,
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 ?
cu
--
----------------------------------------------------------------------
Enrico Weigelt, metux IT service -- http://www.metux.de/
phone: +49 36207 519931 email: weigelt@metux.de
mobile: +49 151 27565287 icq: 210169427 skype: nekrad666
----------------------------------------------------------------------
Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme
----------------------------------------------------------------------
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: git-show / tig: no indention for commit message
2011-05-11 11:36 git-show / tig: no indention for commit message Enrico Weigelt
@ 2011-07-24 7:36 ` Andreas Schwab
2011-07-25 1:29 ` Jonas Fonseca
1 sibling, 0 replies; 3+ messages in thread
From: Andreas Schwab @ 2011-07-24 7:36 UTC (permalink / raw)
To: git
Enrico Weigelt <weigelt@metux.de> writes:
> 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 ?
You could use git cat-file instead.
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: git-show / tig: no indention for commit message
2011-05-11 11:36 git-show / tig: no indention for commit message Enrico Weigelt
2011-07-24 7:36 ` Andreas Schwab
@ 2011-07-25 1:29 ` Jonas Fonseca
1 sibling, 0 replies; 3+ messages in thread
From: Jonas Fonseca @ 2011-07-25 1:29 UTC (permalink / raw)
To: weigelt, git
On Wed, May 11, 2011 at 07:36, Enrico Weigelt <weigelt@metux.de> 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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-07-25 1:29 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-11 11:36 git-show / tig: no indention for commit message Enrico Weigelt
2011-07-24 7:36 ` Andreas Schwab
2011-07-25 1:29 ` Jonas Fonseca
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.