summaryrefslogtreecommitdiff
path: root/Documentation/gittutorial-2.txt
diff options
context:
space:
mode:
authorLibravatar Lars Schneider <larsxschneider@gmail.com>2016-10-16 16:20:35 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2016-10-17 11:36:50 -0700
commitb84be553548b6d493d6eff728f3e11b5b5f9a254 (patch)
treea1da365a84904433c42e38155db514c47d26120e /Documentation/gittutorial-2.txt
parentpkt-line: add functions to read/write flush terminated packet streams (diff)
downloadtgif-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 'Documentation/gittutorial-2.txt')
0 files changed, 0 insertions, 0 deletions