about summary refs log tree commit diff
path: root/parsing.c
diff options
context:
space:
mode:
authorLukas Fleischer <cgit@cryptocrack.de>2013-08-20 18:56:12 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2013-08-20 19:55:20 +0200
commit01db08372965b082239e7946255ac43f42d3e37d (patch)
tree2ae36a481ff08a5b9d715b2adbddb9dc931d1a47 /parsing.c
parentcmd.c: Add a "rawdiff" command (diff)
downloadcgit-pink-01db08372965b082239e7946255ac43f42d3e37d.tar.gz
cgit-pink-01db08372965b082239e7946255ac43f42d3e37d.zip
ui-diff: Check the return value of get_sha1()
Sync with what we do everywhere else and check the return value of
get_sha1() instead of calling sha1_object_info() to validate the object.
Note that we later call lookup_commit_reference(), which checks that
both SHA1 values refer to commits, anyway.

Signed-off-by: Lukas Fleischer <cgit@cryptocrack.de>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions
'>Day 8, part 2June McEnroe 2017-12-09Day 8June McEnroe 2017-12-09Day 7, part 2June McEnroe I don't even know what this is. Don't look at it. 2017-12-08Day 7June McEnroe 2017-12-06Day 6, part 2June McEnroe 2017-12-06Day 6June McEnroe 2017-12-05Day 5, part 2June McEnroe 2017-12-05Day 5June McEnroe 2017-12-04Day 4, part 2June McEnroe That ugly sort map though. 2017-12-04Day 4June McEnroe 2017-12-03Day 3, part 2June McEnroe I am super surprised that worked on the first try. 2017-12-03Day 3, clean upJune McEnroe 2017-12-03Day 3June McEnroe This is fucking awful and I'm angry. 2017-12-02Day 2, part 2June McEnroe 2017-12-02Day 2June McEnroe 2017-12-01Day 1, part 2June McEnroe 2017-12-01Day 1June McEnroe 2017-11-27Move to 2016 directoryJune McEnroe