diff options
| author | Toon Claes <toon@iotcl.com> | 2026-01-30 15:26:35 +0100 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2026-01-30 08:57:00 -0800 |
| commit | 85329e31dd4c864a5a200d0a0ded886599adc2c5 (patch) | |
| tree | 73a25a65b3f07a3bc8cdf0ab2afccf6dbdff030c /contrib/persistent-https | |
| parent | 66ce5f8e8872f0183bb137911c52b07f1f242d13 (diff) | |
| download | git-85329e31dd4c864a5a200d0a0ded886599adc2c5.tar.gz git-85329e31dd4c864a5a200d0a0ded886599adc2c5.zip | |
last-modified: rewrite error message when more than one commit given
When more than one commit is passed to the git-last-modified(1) command,
this error message was printed:
error: last-modified can only operate on one tree at a time
Calling these a "tree" is technically not correct. git-last-modified(1)
expects revisions that peel to a commit.
Rephrase the error message to:
error: last-modified can only operate on one commit at a time
While at it, modify the test to ensure the correct error message is
printed.
Signed-off-by: Toon Claes <toon@iotcl.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/persistent-https')
0 files changed, 0 insertions, 0 deletions
