]> git.ipfire.org Git - thirdparty/git.git/commit
last-modified: remove double error message
authorToon Claes <toon@iotcl.com>
Fri, 30 Jan 2026 14:26:37 +0000 (15:26 +0100)
committerJunio C Hamano <gitster@pobox.com>
Fri, 30 Jan 2026 16:57:01 +0000 (08:57 -0800)
commitb768485c4b7ad0a80d0fd24ec941308b57ccb6ed
treebec9761aa8565a07c22db1d3d5dda0e923ee0af3
parente2505ec170bc0861c3b902bc9763416c5f222455
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