Skip to content
Snippets Groups Projects
Select Git revision
  • commit-alias
  • editor-modeline
  • commit-abbreviation
  • make-hooks-work-as-advertised
  • lyda-home-version
  • master default protected
  • feature-aliases
  • git-version-bsd-fix
  • hook-changes
  • v1.20151229-1
  • v1.20151229
  • v1.20150502-1
  • v1.20150502
  • v1.20141026-manpage-static
  • v1.20141026-1
  • v1.20141026
  • v1.20141025-1
  • v1.20141025
  • v1.20141009-manpage-static
  • v1.20141009-1
  • v1.20141009
  • v1.20140508-1-bpo70+1
  • v1.20140508-1
  • v1.20140508-manpage-static
  • v1.20140508
  • v1.20140507
  • v1.20140313
  • v1.20131229-homebrew
  • v1.20131229-1-bpo60+1
29 results

.mailmap

  • Valentin Haenel's avatar
    938e89c0
    use git shortlog and .mailmap to remove duplicates · 938e89c0
    Valentin Haenel authored
    When using the basic log command one of the authors shows up twice:
    
    zsh» git log --all --format='%an <%ae>' | sort -u -k2
    Vincent Demeester <vincent@demeester.fr>
    Richard Hartmann <richih+github.com@richih.org>
    Richard Hartmann <richih.mailinglist@gmail.com>
    Dieter Plaetinck <dieter@plaetinck.be>
    Corey Quinn <corey@sequestered.net>
    Gernot Schulz <post@gernot-schulz.com>
    
    If you instead use the git shortlog version with the .mailmap file you get:
    
    zsh» git shortlog -se --all | cut -f1 --complement | sort -u -k2
    
    Vincent Demeester <vincent@demeester.fr>
    Richard Hartmann <richih.mailinglist@gmail.com>
    Dieter Plaetinck <dieter@plaetinck.be>
    Corey Quinn <corey@sequestered.net>
    Gernot Schulz <post@gernot-schulz.com>
    
    Alphabetical sorting on the second field (which, incidentally, may be a middle
    name) is preserved.
    938e89c0
    History
    use git shortlog and .mailmap to remove duplicates
    Valentin Haenel authored
    When using the basic log command one of the authors shows up twice:
    
    zsh» git log --all --format='%an <%ae>' | sort -u -k2
    Vincent Demeester <vincent@demeester.fr>
    Richard Hartmann <richih+github.com@richih.org>
    Richard Hartmann <richih.mailinglist@gmail.com>
    Dieter Plaetinck <dieter@plaetinck.be>
    Corey Quinn <corey@sequestered.net>
    Gernot Schulz <post@gernot-schulz.com>
    
    If you instead use the git shortlog version with the .mailmap file you get:
    
    zsh» git shortlog -se --all | cut -f1 --complement | sort -u -k2
    
    Vincent Demeester <vincent@demeester.fr>
    Richard Hartmann <richih.mailinglist@gmail.com>
    Dieter Plaetinck <dieter@plaetinck.be>
    Corey Quinn <corey@sequestered.net>
    Gernot Schulz <post@gernot-schulz.com>
    
    Alphabetical sorting on the second field (which, incidentally, may be a middle
    name) is preserved.