]> git.ipfire.org Git - thirdparty/git.git/commit
last-modified: remove double error message
authorToon Claes <toon@iotcl.com>
Fri, 16 Jan 2026 13:08:39 +0000 (14:08 +0100)
committerJunio C Hamano <gitster@pobox.com>
Fri, 16 Jan 2026 17:30:27 +0000 (09:30 -0800)
commitbe38275cd8f6ade73c92c52452b78770d5f54f6f
tree9aaae102e79ed36acb9e0a3e0408c71ebe57c8ac
parentc13a915532566f7d3ea3dbc7f4ab626c05d4b139
last-modified: remove double error message

When the user passes two revisions, they get the following output:

    $ git last-modified HEAD HEAD~
    error: last-modified can only operate on one revision at a time
    error: unable to setup last-modified

The error message about "unable to setup" is not very informative,
remove it.

Signed-off-by: Toon Claes <toon@iotcl.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/last-modified.c