diff options
author | Đoàn Trần Công Danh <congdanhqx@gmail.com> | 2020-04-23 13:52:38 (GMT) |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-04-23 20:22:00 (GMT) |
commit | c933b28d87062a0c68de298900b9060f577f865a (patch) | |
tree | 00640f959691911904b3d6a21b32935bf934d7aa /branch.h | |
parent | efe3874640e2e58209ddbb3b072f48f6b7094f34 (diff) | |
download | git-c933b28d87062a0c68de298900b9060f577f865a.zip git-c933b28d87062a0c68de298900b9060f577f865a.tar.gz git-c933b28d87062a0c68de298900b9060f577f865a.tar.bz2 |
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 'branch.h')
0 files changed, 0 insertions, 0 deletions