summaryrefslogtreecommitdiff
path: root/.gitconfig
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2015-11-18 11:29:05 +0100
committerTobias Klauser <tklauser@distanz.ch>2015-11-18 11:29:05 +0100
commit2ef7424d152541c5650415c2433b10778c7b2a02 (patch)
treee7d2850ca60854cbc16a7b8f5353eaf1d3cf71ff /.gitconfig
parentb82106bc1c18b2335ea8f0d0701e7a3d4fec02e2 (diff)
Add pretty alias fixes and abbrev=12 for formatting Fixes: issues
Taken from Documentation/SubmittingPatches in linux.git
Diffstat (limited to '.gitconfig')
-rw-r--r--.gitconfig6
1 files changed, 6 insertions, 0 deletions
diff --git a/.gitconfig b/.gitconfig
index 92ed46b..fd5baf8 100644
--- a/.gitconfig
+++ b/.gitconfig
@@ -4,6 +4,7 @@
signingkey = B5510F47
[core]
+ abbrev = 12
whitespace = fix,-indent-with-non-tab,trailing-space,cr-at-eol
[alias]
@@ -16,6 +17,9 @@
lp = log -p
dist = "!git archive --format=tar -v --prefix=$(git describe HEAD)/ $(git describe HEAD) | bzip2 -9v > ../$(git describe HEAD).tar.bz2"
+[pretty]
+ fixes = Fixes: %h (\"%s\")
+
[color]
ui = true
diff = auto
@@ -44,3 +48,5 @@
[versionsort]
prereleaseSuffix = -rc
+
+