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 @@