summaryrefslogtreecommitdiff
path: root/commit.c
Commit message (Collapse)AuthorAgeFilesLines
...
* Set object type at object creation time, not object parse time.Linus Torvalds2005-04-241-1/+1
| | | | Otherwise we can have objects without a type, which is not good.
* [PATCH] Allow multiple date-ordered listsDaniel Barkalow2005-04-231-3/+5
| | | | | | | | | | | Make pop_most_recent_commit() return the same objects multiple times, but only if called with different bits to mark. This is necessary to make merge-base work again. Signed-Off-By: Daniel Barkalow <barkalow@iabervon.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* Don't add parents to the commit list if we have alreadyLinus Torvalds2005-04-231-2/+5
| | | | | | seen them. Otherwise any merges will make the parent list explode.
* [PATCH] Add some functions for commit listsDaniel Barkalow2005-04-231-6/+52
| | | | | | | | | This adds a function for inserting an item in a commit list, a function for sorting a commit list by date, and a function for progressively scanning a commit history from most recent to least recent. Signed-Off-By: Daniel Barkalow <barkalow@iabervon.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* Include <limits.h> in commit.c for ULONG_MAX. Remove old "revision.h".Linus Torvalds2005-04-211-0/+1
| | | | | The old revision.h helper header isn't used any more, but I never noticed it until I started grepping for ULONG_MAX users.
* [PATCH] Implementations of parsing functionsDaniel Barkalow2005-04-181-0/+85
This implements the parsing functions. Signed-Off-By: Daniel Barkalow <barkalow@iabervon.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>