]> ruderich.org/simon Gitweb - config/dotfiles.git/commitdiff
vcs: gitconfig: adapt format of --pretty=reference for ld alias
authorSimon Ruderich <simon@ruderich.org>
Tue, 23 Feb 2021 08:32:59 +0000 (09:32 +0100)
committerSimon Ruderich <simon@ruderich.org>
Tue, 23 Feb 2021 08:32:59 +0000 (09:32 +0100)
Personally I prefer the quotes but Git defined --pretty=reference
without it. So adapt to the upstream recommendation.

vcs/gitconfig.in

index eb9c61d2047a2139d572aead836b7807cb2c05b2..1c42cdfd28230dfa34aac67dd9f1ba97fed27ef0 100644 (file)
@@ -76,7 +76,7 @@
        ls  = log --stat
        lp  = log --patch
        lpw = log --patch --color-words
-       ld  = show --date=short --no-patch --pretty='format:%h (\"%s\", %ad)' # describe
+       ld  = show --no-patch --date=short --pretty='format:%h (%s, %ad)' # describe, same as --pretty=reference
        a   = add
        ap  = add --patch
        au  = add --update