X-Git-Url: https://git.distorted.org.uk/~mdw/profile/blobdiff_plain/547fb8af43f4a641026efe17f3af85139aba7fd7..b883d4cbf8c04792e07fe39f73eec8e6e59b8999:/gitconfig diff --git a/gitconfig b/gitconfig index 4d8eb77..9a891fc 100644 --- a/gitconfig +++ b/gitconfig @@ -1,9 +1,11 @@ [core] filemode = true + excludesfile = @gitignore@ [user] name = Mark Wooding email = mdw@distorted.org.uk + signingkey = @releasekey@ [merge] summary = true @@ -22,12 +24,13 @@ diff = auto status = auto branch = auto + interactive = auto [color "diff"] plain = normal meta = bold - new = bold green - old = bold red + new = green + old = red commit = bold yellow whitespace = reverse red @@ -45,11 +48,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 @@ -59,6 +71,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 + fontui = -family Sans -size 10 + fontdiff = -family MiscFixed6x13 -size 10