1. 10 Jan, 2011 5 commits
  2. 09 Jan, 2011 1 commit
  3. 05 Jan, 2011 1 commit
  4. 04 Jan, 2011 1 commit
  5. 29 Dec, 2010 1 commit
  6. 28 Dec, 2010 7 commits
  7. 26 Dec, 2010 2 commits
  8. 23 Dec, 2010 2 commits
  9. 21 Dec, 2010 4 commits
    • Jonathan Nieder's avatar
      t0050: fix printf format strings for portability · 77e57265
      Jonathan Nieder authored
      Unlike bash and ksh, dash passes through hexadecimal \xcc escapes.
      So when run with dash, these tests *pass* (since '\xcc' is a perfectly
      reasonable filename) but they are not testing what was intended.
      
      Use octal escapes instead, in the spirit of v1.6.1-rc1~55^2
      (2008-11-09).
      Reported-by: default avatarRamsay Jones <[email protected]>
      Signed-off-by: default avatarJonathan Nieder <[email protected]>
      Signed-off-by: default avatarJunio C Hamano <[email protected]>
      77e57265
    • Ramsay Jones's avatar
      t3419-*.sh: Fix arithmetic expansion syntax error · 00f66f0e
      Ramsay Jones authored
      Some shells, for example dash versions older than 0.5.4, need to
      spell a variable reference as '$N' rather than 'N' in an arithmetic
      expansion. In order to avoid the syntax error, we change the
      offending variable reference from 'i' to '$i' in function scramble.
      
      There is nothing bash specific to this test script (and we shouldn't
      have any bash dependent test).  Fix its shebang line.
      Signed-off-by: default avatarRamsay Jones <[email protected]>
      Signed-off-by: default avatarJunio C Hamano <[email protected]>
      00f66f0e
    • Junio C Hamano's avatar
      am --abort: keep unrelated commits since the last failure and warn · 7b3b7e37
      Junio C Hamano authored
      After making commits (either by pulling or doing their own work) after a
      failed "am", the user will be reminded by next "am" invocation that there
      was a failed "am" that the user needs to decide to resolve or to get rid
      of the old "am" attempt.  The "am --abort" option was meant to help the
      latter.  However, it rewinded the HEAD back to the beginning of the failed
      "am" attempt, discarding commits made (perhaps by mistake) since.
      Signed-off-by: default avatarJunio C Hamano <[email protected]>
      7b3b7e37
    • Junio C Hamano's avatar
      commit: die before asking to edit the log message · 4c28e4ad
      Junio C Hamano authored
      When determine_author_info() returns to the calling prepare_to_commit(),
      we already know the pieces of information necessary to determine what
      author ident will be used in the final message, but deferred making a call
      to fmt_ident() before the final commit_tree().  Most importantly, we would
      open the editor to ask the user to compose the log message before it.
      
      As one important side effect of fmt_ident() is to error out when the given
      information is malformed, this resulted in us spawning the editor first
      and then refusing to commit due to error, even though we had enough
      information to detect the error before starting the editor, which was
      annoying.
      
      Move the fmt_ident() call to the end of determine_author_info() where we
      have final determination of author info to rectify this.
      Signed-off-by: default avatarJunio C Hamano <[email protected]>
      4c28e4ad
  10. 20 Dec, 2010 3 commits
  11. 19 Dec, 2010 3 commits
  12. 17 Dec, 2010 2 commits
  13. 16 Dec, 2010 2 commits
  14. 15 Dec, 2010 6 commits