Skip to content

Commit

Permalink
compact log listing with 8-char hashes for 'git blame' compatibility …
Browse files Browse the repository at this point in the history
…and easy hash copy-pasting into 'git diff'
  • Loading branch information
Dainius Vaznys committed Nov 5, 2014
1 parent c86fa72 commit 374dfab
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions config
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
histfull = log --pretty=format:'%Cred%h%Creset %C(bold blue)<%an>%Creset%C(yellow)%d%Creset %Cgreen(%cr)%Creset%n%w(80,8,8)%s%n' --graph --name-status
llog = log --pretty=format:'%C(yellow)%h %Cred%ad %Cblue%an%Cgreen%d %Creset%s' --date=iso
changelog = log --pretty=format:'%Cgreen%d %Creset%s' --date=iso
ls = log --pretty=format:'%C(yellow)%p..%h %C(white dim)%cd %<|(49,trunc)%an %C(reset)%s' --date=short --abbrev=8 --no-merges

#wish i knew
whois = "!sh -c 'git log -i -1 --pretty=\"format::%an <%ae>\n\" --author=\"$1\"' -"
Expand Down

0 comments on commit 374dfab

Please sign in to comment.