diff options
author | Nsengiyumva Wilberforce <nsengiyumvawilberforce@gmail.com> | 2022-10-14 08:01:42 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2022-10-14 09:16:50 -0700 |
commit | 8d2863e4ed7f35baeb2604ee8ed39fe6aa5e62c7 (patch) | |
tree | aa1d31760c135deb09dafc391e34eaf0e3a8abe7 /builtin/commit.c | |
parent | 3dcec76d9df911ed8321007b1d197c1a206dc164 (diff) |
t1002: modernize outdated conditional
Tests in this script use an unusual and hard to reason about
conditional construct
if expression; then false; else :; fi
Change them to use more idiomatic construct:
! expression
Cc: Christian Couder <christian.couder@gmail.com>
Cc: Hariom Verma <hariom18599@gmail.com>
Signed-off-by: Nsengiyumva Wilberforce <nsengiyumvawilberforce@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/commit.c')
0 files changed, 0 insertions, 0 deletions