Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Apr 21, 2005

  1. Include <limits.h> in commit.c for ULONG_MAX. Remove old "revision.h".

    The old revision.h helper header isn't used any more, but I never noticed
    it until I started grepping for ULONG_MAX users.
    Linus Torvalds authored

Apr 17, 2005

  1. Make the revision tracking track the object types too.

    This allows fsck to verify not just that an object exists, but
    also that it has the type it was expected to have.
    Linus Torvalds authored
  2. Make "parse_commit" return the "struct revision" for the commit.

    Also, make it a fatal error to pass in a non-commit object. The callers
    never checked, so better check here.
    
    This simplifies merge-base further. It's now so trivial that it's almost
    ridiculous.
    Linus Torvalds authored
  3. Make "revision.h" slightly better to use.

     - mark_reachable() can be more generic, marking the reachable revisions
       with an arbitrary mask.
     - date parsing will parse to a date of 0 rather than ULONG_MAX for the
       bad old case, sorting the dates correctly.
    Linus Torvalds authored
  4. Move "parse_commit()" into common revision.h file.

    This also drops the old-style date parsing. We just don't care
    enough, since we dropped that format pretty early.
    
    Yes, this could do with some cleanup, and a common library file.
    Some day.
    Linus Torvalds authored

Apr 14, 2005

  1. Use common "revision.h" header for both fsck and rev-tree.

    It's really a very generic thing: the notion of one sha1 revision
    referring to another one. "fsck" uses it for all nodes, and "rev-tree"
    only tracks commit-node relationships, but the code was already
    the same - now we just make that explicit by moving it to a common
    header file.
    Linus Torvalds authored
Something went wrong with that request. Please try again.