diff options
author | Đoàn Trần Công Danh <congdanhqx@gmail.com> | 2020-04-23 20:52:38 +0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-04-23 13:22:00 -0700 |
commit | c933b28d87062a0c68de298900b9060f577f865a (patch) | |
tree | 00640f959691911904b3d6a21b32935bf934d7aa /transport.h | |
parent | Sync with v2.26.1 (diff) | |
download | tgif-c933b28d87062a0c68de298900b9060f577f865a.tar.xz |
date.c: s/is_date/set_date/
The function is_date, confusingly also set tm_year. tm_mon, and tm_mday
after validating input.
Rename to set_date to reflect its real usage.
Also, change return value is 0 on success and -1 on failure following
our convention on function do some real work.
Signed-off-by: Đoàn Trần Công Danh <congdanhqx@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'transport.h')
0 files changed, 0 insertions, 0 deletions