X-Git-Url: https://ruderich.org/simon/gitweb/?p=config%2Fdotfiles.git;a=blobdiff_plain;f=vcs%2Fgitconfig.in;h=eb9c61d2047a2139d572aead836b7807cb2c05b2;hp=93e98663f8994e4ad975d8f075a07c84ed364991;hb=6d98916f74cf9ee437dbe2d1711a172d5549dadc;hpb=8703ca33bd4277d49cbe0f1b3632ab737b61a2b2 diff --git a/vcs/gitconfig.in b/vcs/gitconfig.in index 93e9866..eb9c61d 100644 --- a/vcs/gitconfig.in +++ b/vcs/gitconfig.in @@ -174,6 +174,10 @@ # Highlight moved code in a different color. colorMoved = zebra + # Highlight whitespace errors (at the end of the line) in all lines of + # a diff; the default shows them only in new lines + wsErrorHighlight = old,new,context + # Replace "a/" and "b/" prefix in diffs with characters describing the # context (e.g. "i/"ndex and "w/"ork tree). mnemonicprefix = true @@ -189,7 +193,7 @@ wordRegex = [a-zA-Z0-9_]+|[^a-zA-Z0-9_] # Rules to allow diffing of some binary files. Disabled by default to prevent -# programs from running them on arbitrary files via a .local .gitattributes +# repositories from running them on arbitrary files via a local .gitattributes # file. Copy them to .git/config of the repository to enable them. # # "sh -c '..' ARGV0" is used when the programs require additional arguments @@ -242,6 +246,8 @@ # Don't create .git/hooks with any sample hooks. Reduces the clutter # in new git repositories. templateDir = + # Keep the default branch name + defaultBranch = master # NON-GIT SETTINGS @@ -249,5 +255,12 @@ [annex] # My SSH config already uses ControlMaster where appropriate. sshcaching = false + # Don't upgrade repositories automatically + autoupgraderepository = false + # Force `git add` to add to git, never to annex + gitaddtoannex = false + # Consider dotfiles to be `git annex add`able; restrictions of + # annex.largefiles (if set) are still applied + dotfiles = true # vim: ft=gitconfig