Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.zx2c4.com/cgit.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukas Fleischer <cgit@cryptocrack.de>2013-08-20 20:56:12 +0400
committerJason A. Donenfeld <Jason@zx2c4.com>2013-08-20 21:55:20 +0400
commit01db08372965b082239e7946255ac43f42d3e37d (patch)
tree2ae36a481ff08a5b9d715b2adbddb9dc931d1a47 /ui-patch.c
parent445f6ae8e3ef19b6ca70e741e934778bc4a05555 (diff)
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 'ui-patch.c')
0 files changed, 0 insertions, 0 deletions