diff options
| author | Lars Schneider <larsxschneider@gmail.com> | 2016-10-16 16:20:35 -0700 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2016-10-17 11:36:50 -0700 |
| commit | b84be553548b6d493d6eff728f3e11b5b5f9a254 (patch) | |
| tree | a1da365a84904433c42e38155db514c47d26120e /builtin/commit.c | |
| parent | pkt-line: add functions to read/write flush terminated packet streams (diff) | |
| download | git-b84be553548b6d493d6eff728f3e11b5b5f9a254.tar.gz git-b84be553548b6d493d6eff728f3e11b5b5f9a254.zip | |
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 'builtin/commit.c')
0 files changed, 0 insertions, 0 deletions
