[PATCH 0/3] builtin/apply: simplify some gitdiff_* functions
- From
Christian Couder <christian.couder@gmail.com>
- Date
- Mar 22, 2016, 20:58 UTC
- Message-ID
- <1458680322-17681-1-git-send-email-chriscool@tuxfamily.org>
While working on libifying "git apply" it appeared that some gitdiff_* functions are unnecessarily complex.
Christian Couder (3):
builtin/apply: get rid of useless 'name' variable
builtin/apply: make gitdiff_verify_name() return void
builtin/apply: simplify gitdiff_{old,new}name()builtin/apply.c | 39 +++++++++++++++------------------------ 1 file changed, 15 insertions(+), 24 deletions(-)
-- 2.8.0.rc4.1.g302de0d.dirty