X-Git-Url: https://git.distorted.org.uk/~mdw/profile/blobdiff_plain/79045f0874a5ecc87bc0cd03c9d7a09b4c1ae11d..0b4dfa582cc81c9d817875e97a617178e6689e41:/gitconfig diff --git a/gitconfig b/gitconfig index e54f01e..1f90ebf 100644 --- a/gitconfig +++ b/gitconfig @@ -1,10 +1,11 @@ [core] filemode = true + excludesfile = @gitignore@ [user] name = Mark Wooding email = mdw@distorted.org.uk - signingkey = 0x838424481371BE1B22ECB4C545510A46481334C2 + signingkey = @releasekey@ [merge] summary = true @@ -27,8 +28,8 @@ [color "diff"] plain = normal meta = bold - new = bold green - old = bold red + new = green + old = red commit = bold yellow whitespace = reverse red @@ -46,11 +47,20 @@ [alias] egrep = "grep -E" patch = "format-patch -o p -s" + release = !"sh -e -c ' \ + [ $# -gt 0 ] || { \ + echo >&2 \"usage: git release [OPTS] TAG\"; \ + exit 1; \ + }; \ + ver=$(eval echo \"\\$$#\"); \ + git tag -as -m \"Release $ver.\" \"$@\"' release" + amend = !"env EDITOR=true VISUAL=true git commit --amend -a" mailto = "send-email \ --quiet \ --no-chain-reply-to \ --no-signed-off-by-cc \ --to" + files = "ls-files --exclude-standard" [stgit] autoresolved = yes @@ -60,6 +70,10 @@ git = git@vger.kernel.org mdw = mdw@distorted.org.uk +[sendemail] + chainreplyto = no + signedoffcc = yes + [gui] fontui = -family helvetica -size 11 -weight normal -slant roman -underline 0 -overstrike 0 fontdiff = -family fixed -size 10 -weight normal -slant roman -underline 0 -overstrike 0