aboutsummaryrefslogtreecommitdiffstats
path: root/builtin/commit.c
diff options
context:
space:
mode:
authorJoel Holdsworth <jholdsworth@nvidia.com>2021-12-16 13:46:15 +0000
committerJunio C Hamano <gitster@pobox.com>2021-12-16 14:06:35 -0800
commit8618d322e00f88b7b5528abfc75b26c162032a21 (patch)
tree28f95d9e9a5a508d2026e7281a280d6b872dc40c /builtin/commit.c
parente773545c7fe7eca21b134847f4fc2cbc9547fa14 (diff)
downloadgit-8618d322e00f88b7b5528abfc75b26c162032a21.tar.gz
git-p4: use with statements to close files after use in patchRCSKeywords
Python with statements are used to wrap the execution of a block of code so that an object can be safely released when execution leaves the scope. They are desirable for improving code tidyness, and to ensure that objects are properly destroyed even when exceptions are thrown. Signed-off-by: Joel Holdsworth <jholdsworth@nvidia.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/commit.c')
0 files changed, 0 insertions, 0 deletions