aboutsummaryrefslogtreecommitdiff
path: root/path.c
diff options
context:
space:
mode:
authorLars Schneider <larsxschneider@gmail.com>2016-10-16 16:20:35 -0700
committerJunio C Hamano <gitster@pobox.com>2016-10-17 11:36:50 -0700
commitb84be553548b6d493d6eff728f3e11b5b5f9a254 (patch)
treea1da365a84904433c42e38155db514c47d26120e /path.c
parentbb643d8bf872c416b7445e728e2675ac6490fe1d (diff)
downloadgit-b84be553548b6d493d6eff728f3e11b5b5f9a254.tar.gz
git-b84be553548b6d493d6eff728f3e11b5b5f9a254.tar.xz
convert: make apply_filter() adhere to standard Git error handling
apply_filter() returns a boolean that tells the caller if it "did convert or did not convert". The variable `ret` was used throughout the function to track errors whereas `1` denoted success and `0` failure. This is unusual for the Git source where `0` denotes success. Rename the variable and flip its value to make the function easier readable for Git developers. Signed-off-by: Lars Schneider <larsxschneider@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'path.c')
0 files changed, 0 insertions, 0 deletions