X-Git-Url: https://git.distorted.org.uk/~mdw/profile/blobdiff_plain/f4daab03daffaef7b886101300fd35e76ffc3f7c..d57a718ee1f65705bfdf5f3ff16b689add4caae2:/dot/gitconfig.in diff --git a/dot/gitconfig.in b/dot/gitconfig.in index ebd17bf..1dbc92b 100644 --- a/dot/gitconfig.in +++ b/dot/gitconfig.in @@ -3,35 +3,50 @@ [core] filemode = true - excludesfile = @gitignore@ + excludesfile = @profile@/git/gitignore + attributesfile = @profile@/git/attributes + whitespace = trailing-space,space-before-tab,indent-with-non-tab [user] name = Mark Wooding email = mdw@distorted.org.uk signingkey = @releasekey@ +[annex] + sshcaching = false + [merge] summary = true tool = emerge + conflictStyle = diff3 [mergetool "emerge"] path = emerge-hack [diff] renames = copies + renameLimit = 1024 + wordRegex = [[:alnum:]]+|[^[:space:][:alnum:]] [diff "lisp"] - xfuncname = "^\\s*\\(def.*$" + xfuncname = "^((\\(|\\s*\\(def).*$)" + +[log] + date = rfc + decorate = true + +[rebase] + autosquash = true + +[push] + default = matching + followTags = true [format] headers = "Organization: Straylight/Edgeware\n" [color] - diff = auto - status = auto - branch = auto - interactive = auto - grep = auto + ui = auto [color "diff"] plain = normal @@ -42,10 +57,10 @@ whitespace = reverse red [color "interactive"] - prompt = bold yellow - header = bold - help = green - error = bold red + prompt = bold yellow + header = bold + help = green + error = bold red [color "status"] header = bold @@ -61,9 +76,15 @@ [color "grep"] external = --color=always +[pager] + log = perl /usr/share/doc/git/contrib/diff-highlight/diff-highlight | less + show = perl /usr/share/doc/git/contrib/diff-highlight/diff-highlight | less + diff = perl /usr/share/doc/git/contrib/diff-highlight/diff-highlight | less + [alias] egrep = "grep -E" patch = "format-patch -o p -s" + graph = "log --pretty=oneline --abbrev-commit --graph" release = !"sh -e -c ' \ [ $# -gt 0 ] || { \ echo >&2 \"usage: git release TAG [OPTS]\"; \ @@ -93,6 +114,7 @@ [rerere] enabled = yes + autoupdate = yes [stgit] autoresolved = yes @@ -103,9 +125,16 @@ mdw = mdw@distorted.org.uk [sendemail] + from = Mark Wooding + aliasesfile = @profile@/dot/mailrc + aliasfiletype = mailrc chainreplyto = no - signedoffcc = yes + signedoffbycc = yes + suppresscc = self [gui] fontui = -family Sans -size 10 - fontdiff = -family MiscFixed6x13 -size 10 + fontdiff = -family Fixed -size 13 + +[http] + cookiefile = @home@/.gitcookies