From d5572231b0d2dc38b4de96d545fd99ab12a274b4 Mon Sep 17 00:00:00 2001 From: Xenira <1288524+Xenira@users.noreply.github.com> Date: Thu, 23 Apr 2026 16:52:29 +0200 Subject: [PATCH] chore(git-utimes): fix formatting and man pages Refs: #1249 --- bin/git-utimes | 26 ++++++++++++-------------- man/git-utimes.1 | 2 +- man/git-utimes.html | 2 +- 3 files changed, 14 insertions(+), 16 deletions(-) diff --git a/bin/git-utimes b/bin/git-utimes index 9ecf98f..d26a252 100755 --- a/bin/git-utimes +++ b/bin/git-utimes @@ -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 diff --git a/man/git-utimes.1 b/man/git-utimes.1 index ed52073..8addee6 100644 --- a/man/git-utimes.1 +++ b/man/git-utimes.1 @@ -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" diff --git a/man/git-utimes.html b/man/git-utimes.html index bc2a1b6..f9489da 100644 --- a/man/git-utimes.html +++ b/man/git-utimes.html @@ -124,7 +124,7 @@
  1. -
  2. January 1980
  3. +
  4. April 2026
  5. git-utimes(1)