summaryrefslogtreecommitdiff
path: root/git-gui/Makefile
diff options
context:
space:
mode:
authorLibravatar brian m. carlson <sandals@crustytoothpaste.net>2017-02-21 23:47:21 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-02-22 10:12:15 -0800
commit5f5e936d4a2d9a9093e8e6a2501fad74bdc6c31c (patch)
treefa5d09cfb08ab5dbbb0d7c35bcf1a07ba77a30a1 /git-gui/Makefile
parentbuiltin/commit: convert to struct object_id (diff)
downloadtgif-5f5e936d4a2d9a9093e8e6a2501fad74bdc6c31c.tar.xz
builtin/diff-tree: convert to struct object_id
Convert most leaf functions to struct object_id. Change several hardcoded numbers to uses of parse_oid_hex. In doing so, verify that we when we want two trees, we have exactly two trees. Finally, in stdin_diff_commit, avoid accessing the byte after the NUL. This will be a NUL as well, since the first NUL was a newline we overwrote. However, with parse_oid_hex, we no longer need to increment the pointer directly, and can simply increment it as part of our check for the space character. Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net> Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-gui/Makefile')
0 files changed, 0 insertions, 0 deletions