Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Jun 16, 2010
  1. @jaysoffian @gitster

    am: use get_author_ident_from_commit instead of mailinfo when rebasing

    jaysoffian authored gitster committed
    In certain situations, commit authorship can consist of an invalid
    e-mail address. For example, this is the case when working with git svn
    repos where the author email has had the svn repo UUID appended such as:
    
     author@example.com <author@example.com@deadbee-dead-beef-dead-beefdeadbeef>
    
    Given such an address, mailinfo extracts the authorship incorrectly as
    it assumes a valid domain. However, when rebasing the original
    authorship should be preserved irrespective of its validity as an email
    address.
    
    Using get_author_ident_from_commit instead of mailinfo when rebasing
    preserves the original authorship.
    
    Signed-off-by: Jay Soffian <jaysoffian@gmail.com>
    Signed-off-by: Junio C Hamano <gitster@pobox.com>
Commits on Jan 28, 2009
  1. @jaysoffian @gitster

    git-am: minor cleanups

    jaysoffian authored gitster committed
    Update usage statement to remove a no-longer supported option, and to hide two
    options (one a no-op, one internal) unless --help-all is used.
    
    Use "test -t 0" instead of "tty -s" to detect when stdin is a terminal. (test
    -t 0 is used elsewhere in git-am and in other git shell scripts, tty -s is
    not, and appears to be deprecated by POSIX)
    
    Use "test ..." instead of "[ ... ]" and "die <msg>" instead of "echo <msg>
    >&2; exit 1" to be consistent with rest of script.
    
    Signed-off-by: Jay Soffian <jaysoffian@gmail.com>
    Signed-off-by: Junio C Hamano <gitster@pobox.com>
Something went wrong with that request. Please try again.