chore(git-utimes): fix formatting and man pages

Refs: #1249
This commit is contained in:
Xenira 2026-04-23 16:52:29 +02:00
parent 80d9e2e385
commit d5572231b0
No known key found for this signature in database
3 changed files with 14 additions and 16 deletions

View file

@ -16,20 +16,18 @@ log_opts=(
op=eq
for arg in "$@"; do
case "$arg" in
--newer)
op=le
;;
--touch-dirs | -d)
log_opts+=(--dirstat=files,0)
;;
*)
>&2 echo "unknown argument $arg found"
exit 1
;;
esac
shift
case "$arg" in
--newer)
op=le
;;
--touch-dirs | -d)
log_opts+=(--dirstat=files,0)
;;
*)
>&2 echo "unknown argument $arg found"
exit 1
;;
esac
done
# BSD systems

View file

@ -1,6 +1,6 @@
.\" generated with Ronn-NG/v0.10.1
.\" http://github.com/apjanke/ronn-ng/tree/0.10.1
.TH "GIT\-UTIMES" "1" "January 1980" "" "Git Extras"
.TH "GIT\-UTIMES" "1" "April 2026" "" "Git Extras"
.SH "NAME"
\fBgit\-utimes\fR \- Change files modification time to their last commit date
.SH "SYNOPSIS"

View file

@ -124,7 +124,7 @@
<ol class='man-decor man-foot man foot'>
<li class='tl'></li>
<li class='tc'>January 1980</li>
<li class='tc'>April 2026</li>
<li class='tr'>git-utimes(1)</li>
</ol>