1. 09 5月, 2005 1 次提交
  2. 08 5月, 2005 1 次提交
  3. 07 5月, 2005 3 次提交
  4. 04 5月, 2005 2 次提交
    • L
      sha1_file: make the new sha1 object writing be coda-friendly. · a31c6d02
      Linus Torvalds 提交于
      Coda doesn't like cross-directory hardlinks. So try to fall back
      on a plain rename instead.
      a31c6d02
    • L
      Improve sha1 object file writing. · aac17941
      Linus Torvalds 提交于
      Make it much safer: we write to a temporary file, and then link that
      temporary file to the final destination. This avoids all the nasty
      races if several people write the same object at the same time.
      
      It should also result in nicer on-disk layout, since it means that
      objects all get created in the same subdirectory. That makes a lot
      of block allocation algorithms happier, since the objects will now
      be allocated from the same zone.
      aac17941
  5. 02 5月, 2005 4 次提交
    • J
      Add git-write-blob. · 74400e71
      Junio C Hamano 提交于
      A new command, git-write-blob, is introduced.  This registers
      the contents of any file on the filesystem as a blob in the
      object database and reports its SHA1 to the standard output.
      To implement it, the patch promotes index_fd() from a static
      function in update-cache.c to extern and moves it to a library
      source, sha1_file.c.
      
      This command is used to update git-merge-one-file-script so that
      it does not smudge the work tree.
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      74400e71
    • L
      Remove the ugly jit-style parent syntax. · ca4c7db9
      Linus Torvalds 提交于
      If somebody wants it later, we can re-do it, but for now we consider
      it an experiment that wasn't worth it. Git will still honor symbolic
      names, it just won't look up parents for you.
      
      Of course, you can always do it by hand if you want to.
      ca4c7db9
    • L
      Add "look up parent" logic for the simple names. · 35ad3382
      Linus Torvalds 提交于
      It uses the jit syntax, at least for now. 0-xxxx is the first parent of xxxx,
      while 1-xxxx is the second, and so on. You can use just "-xxxx" for the first
      parent, but a lot of commands will think that the initial '-' implies a
      command line flag.
      35ad3382
    • L
      Add "get_sha1()" helper function. · 3c249c95
      Linus Torvalds 提交于
      This allows the programs to use various simplified versions of
      the SHA1 names, eg just say "HEAD" for the SHA1 pointed to by
      the .git/HEAD file etc.
      
      For example, this commit has been done with
      
      	git-commit-tree $(git-write-tree) -p HEAD
      
      instead of the traditional "$(cat .git/HEAD)" syntax.
      3c249c95
  6. 29 4月, 2005 1 次提交
  7. 27 4月, 2005 1 次提交
  8. 26 4月, 2005 2 次提交
  9. 25 4月, 2005 1 次提交
  10. 24 4月, 2005 2 次提交
  11. 21 4月, 2005 3 次提交
  12. 20 4月, 2005 1 次提交
  13. 19 4月, 2005 1 次提交