1. 12 4月, 2005 15 次提交
  2. 11 4月, 2005 9 次提交
    • L
      Fix up commit-tree/diff-tree user interface issues. · bf16c71e
      Linus Torvalds 提交于
      No, this doesn't make them easy to use, but makes diff-tree use
      the "-r" flag for "recursive" (not "-R") and makes commit-tree
      use AUTHOR_xxx environment flags (not COMMITTER_xxx) to match what
      it actually does.
      bf16c71e
    • L
      Oops. Fix bad initialization of the "seen" array, causing us to not · 91af81a9
      Linus Torvalds 提交于
      properly clear the reference count at init time. It happened to work
      for me by pure luck.
      
      Until it broke, and my unreferenced commit suddenly looked referenced
      again. Fixed.
      91af81a9
    • L
      Oops, the actual 'printf' for missing objects was missing. · f1257f3a
      Linus Torvalds 提交于
      Which made fsck very quiet about objects it hadn't found. So add
      it. 
      
      We'll need to make things like these optional, because it's
      perfectly ok to have partial history if you don't want it,
      and don't want to go backwards. But for development, it's best
      to always complain about missing sha1 object files that are
      referenced from somewhere else.
      f1257f3a
    • L
      Add connectivity tracking to fsck. · 8ba0bbb2
      Linus Torvalds 提交于
      This shows that I've lost track of one commit already. Most likely
      because I forgot to update the .dircache/HEAD file when doing a
      commit, so that the next commit referenced not the top-of-tree, but
      the one older commit.
      
      Having dangling commits is fine (in fact, you should always have
      at least _one_ dangling commit in the top-of-tree). But it's
      good to know about them.
      8ba0bbb2
    • L
      Fix off-by-one error in removal of cache entry. · 76e7f4ec
      Linus Torvalds 提交于
      Also make the return value of "cache_name_pos()" be sane: positive
      or zero if we found it (it's the index into the cache array), and
      "-pos-1" to indicate where it should go if we didn't.
      76e7f4ec
    • L
      Fix diff-tree recursion. · 262e82b4
      Linus Torvalds 提交于
      And, perhaps more importantly, fix the fact that if a filename changed from a
      directory to a file (or vice versa), we must consider it a delete and an add,
      not a "filechange".
      262e82b4
    • L
      Simplify "diff-tree" output, and only keep track of one single name-base. · eeb79916
      Linus Torvalds 提交于
      During original development I had different name-bases for source and
      destination, so that I could make the output show how it got removed 
      from "tree a" and added to "tree b", but we don't want that. We only
      do recursive diffs on anything where the bases are exactly the same,
      so we might as well just work with a single base.
      
      Also, make the output for "changed" be a single line, since people
      hated the separate '<' / '>' format. They were right. It sucked.
      eeb79916
    • L
      Add "-R" flag to "diff-tree", so that it will recursively traverse a tree of trees · 73134b6d
      Linus Torvalds 提交于
      as it diffs them.
      
      This makes diff-tree usable again in the new world order.
      73134b6d
    • L
      Make "update-cache" a bit friendlier to use (and harder to mis-use). · 121481ab
      Linus Torvalds 提交于
      It now requires the "--add" flag before you add any new files, and
      a "--remove" file if you want to mark files for removal. And giving
      it the "--refresh" flag makes it just update all the files that it
      already knows about.
      121481ab
  3. 10 4月, 2005 13 次提交
  4. 09 4月, 2005 3 次提交