diff options
author | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-17 12:40:18 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-17 12:40:18 -0700 |
commit | 7d60ad7cc948b1b9e1066a3e740c91651bdc7e8d (patch) | |
tree | 7108636195bd22054fc889ab6eb87b2a0eb98e4a /commit-tree.c | |
parent | 6683463ed6b2da9eed309c305806f9393d1ae728 (diff) | |
download | git-7d60ad7cc948b1b9e1066a3e740c91651bdc7e8d.tar.gz git-7d60ad7cc948b1b9e1066a3e740c91651bdc7e8d.tar.xz |
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.
Diffstat (limited to 'commit-tree.c')
0 files changed, 0 insertions, 0 deletions