diff options
author | Beat Bolli <dev+git@drbeat.li> | 2015-07-18 13:15:39 +0200 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2015-08-13 13:47:43 +1000 |
commit | d835dbb91fe246d123dc81f6a317d73518ecef46 (patch) | |
tree | 1327b151b385a3a1e56408a8ff1d8d806c06facc /progress.h | |
parent | gitk: Update Bulgarian translation (307t) (diff) | |
download | tgif-d835dbb91fe246d123dc81f6a317d73518ecef46.tar.xz |
gitk: Add a "Copy commit summary" command
When referring to earlier commits in commit messages or other text, one
of the established formats is
<abbrev-sha> ("<summary>", <author-date>)
Add a "Copy commit summary" command to the context menu that puts this
text for the currently selected commit on the clipboard. This makes it
easy for our users to create well-formatted commit references.
The <abbrev-sha> is produced with the %h format specifier to make it
unique. Its length can be controlled with the gitk preference
"Auto-select SHA1 (length)", or, if this preference is set to its
default value (40), with the Git config setting core.abbrev.
Signed-off-by: Beat Bolli <dev+git@drbeat.li>
Cc: Paul Mackerras <paulus@samba.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'progress.h')
0 files changed, 0 insertions, 0 deletions