1. 18 Sep, 2006 1 commit
  2. 15 Sep, 2006 1 commit
  3. 13 Aug, 2006 1 commit
    • Junio C Hamano's avatar
      Better error message when we are unable to lock the index file · 40aaae88
      Junio C Hamano authored
      Most of the callers except the one in refs.c use the function to
      update the index file.  Among the index writers, everybody
      except write-tree dies if they cannot open it for writing.
      
      This gives the function an extra argument, to tell it to die
      when it cannot create a new file as the lockfile.
      
      The only caller that does not have to die is write-tree, because
      updating the index for the cache-tree part is optional and not
      being able to do so does not affect the correctness.  I think we
      do not have to be so careful and make the failure into die() the
      same way as other callers, but that would be a different patch.
      Signed-off-by: default avatarJunio C Hamano <[email protected]>
      40aaae88
  4. 04 Aug, 2006 1 commit
  5. 29 Jul, 2006 1 commit
  6. 26 Jul, 2006 1 commit
  7. 25 Jul, 2006 1 commit
  8. 08 Jul, 2006 1 commit
  9. 06 Jun, 2006 1 commit
  10. 19 May, 2006 1 commit
  11. 18 May, 2006 1 commit
    • Junio C Hamano's avatar
      builtin-add: fix unmatched pathspec warnings. · e8f990b4
      Junio C Hamano authored
      "git add Documentation/" when Documentation directory exists
      does not barf (as it should not), but "git add ." barfed when it
      did not add anything.  This was because we checked for the path
      prefix ("Documentation/" in the former case, and an empty string
      in the latter case) for existence, and lstat("", &st) would say
      "Huh?".
      Signed-off-by: default avatarJunio C Hamano <[email protected]>
      e8f990b4
  12. 17 May, 2006 2 commits