]> git.wh0rd.org - home.git/commitdiff
gitconfig: update
authorMike Frysinger <vapier@gentoo.org>
Tue, 16 Jan 2018 03:21:41 +0000 (22:21 -0500)
committerMike Frysinger <vapier@gentoo.org>
Tue, 16 Jan 2018 03:21:41 +0000 (22:21 -0500)
Space out the sections as this file is getting big.

Set core.pager to exit with short output for all commands.
Newer git versions changed behavior with some subcommands.

Add a pager section for diff-highlight for inline diffs.

.gitconfig

index 1819dca38f43a75279b876053e61fa007b47a634..27f61cb05daa823ee62ab91a61ddb8e50402b096 100644 (file)
@@ -2,12 +2,16 @@
        name = Mike Frysinger
        email = vapier@gentoo.org
 #      signingkey = 0xE837F581
+
 [core]
        abbrev = 12
+       pager = less -FRMX --tabs 4 -#10
+
 [color]
        ui = auto
        diff = auto
        status = auto
+
 [color "diff"]
        old = red bold
        new = green bold
        frag = yellow bold
        whitespace = normal green
        meta = magenta
+
 [diff]
        renames = true
+
+#[pager]
+#      diff = diff-highlight | less
+#      log  = diff-highlight | less
+#      show = diff-highlight | less
+
 [push]
        default = current
+
 [alias]
        a    = add
        ab   = abandon
        st   = status
        t    = tag
        up   = upload
+
 [tag]
        sort = version:refname
+
 [merge]
        conflictstyle = diff3
+
 [rebase]
        autosquash = true
+
 [http]
        cookiefile = ~/.gitcookies
+
 [transfer]
        # https://groups.google.com/forum/m/#!topic/binary-transparency/f-BI4o8HZW0
        fsckobjects = true
+
 [merge "merge-changelog"]
        name = GNU-style ChangeLog merge driver
        driver = /usr/bin/git-merge-changelog %O %A %B
+
 [sendemail]
        chainreplyto = false
        confirm = always