summaryrefslogtreecommitdiff
path: root/userdiff.h
diff options
context:
space:
mode:
authorLibravatar Đoàn Trần Công Danh <congdanhqx@gmail.com>2020-04-23 20:52:38 +0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2020-04-23 13:22:00 -0700
commitc933b28d87062a0c68de298900b9060f577f865a (patch)
tree00640f959691911904b3d6a21b32935bf934d7aa /userdiff.h
parentSync with v2.26.1 (diff)
downloadtgif-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 'userdiff.h')
0 files changed, 0 insertions, 0 deletions