diff options
author | Johan Herland <johan@herland.net> | 2014-11-12 01:40:12 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-11-12 10:58:09 -0800 |
commit | b0de56c6a5bb41da71babafefc9207b0fc211d66 (patch) | |
tree | efe53a71152b5399a6a662c5e30b6bda21daf9b9 /t/t9150 | |
parent | builtin/notes: refactor note file path into struct note_data (diff) | |
download | tgif-b0de56c6a5bb41da71babafefc9207b0fc211d66.tar.xz |
builtin/notes: simplify early exit code in add()
Remove the need for 'retval' and the unnecessary goto. Also reorganize
to only call free_note_data() is actually needed.
Improved-by: Junio C Hamano <gitster@pobox.com>
Signed-off-by: Johan Herland <johan@herland.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t9150')
0 files changed, 0 insertions, 0 deletions