X-Git-Url: https://git.distorted.org.uk/~mdw/profile/blobdiff_plain/518aede44529bc4c6218d52a3cf97a77888d3b2f..726eec9cefda82ce4f40c5daa2c85abbac7b970b:/dot/gitconfig.in diff --git a/dot/gitconfig.in b/dot/gitconfig.in index 02a297d..b682839 100644 --- a/dot/gitconfig.in +++ b/dot/gitconfig.in @@ -4,12 +4,17 @@ [core] filemode = true 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 @@ -19,9 +24,11 @@ [diff] renames = copies + renameLimit = 1024 + wordRegex = [[:alnum:]]+|[^[:space:][:alnum:]] [diff "lisp"] - xfuncname = "^\\s*\\(def.*$" + xfuncname = "^((\\(|\\s*\\(def).*$)" [log] date = rfc @@ -30,6 +37,9 @@ [rebase] autosquash = true +[push] + default = matching + [format] headers = "Organization: Straylight/Edgeware\n" @@ -45,10 +55,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 @@ -64,6 +74,11 @@ [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" @@ -97,6 +112,7 @@ [rerere] enabled = yes + autoupdate = yes [stgit] autoresolved = yes @@ -116,4 +132,7 @@ [gui] fontui = -family Sans -size 10 - fontdiff = -family MiscFixed6x13 -size 10 + fontdiff = -family Fixed -size 13 + +[http] + cookiefile = @home@/.gitcookies