]> git.ipfire.org Git - thirdparty/git.git/commit
archive: fix misleading error message
authorRené Scharfe <l.s.r@web.de>
Thu, 3 Oct 2024 15:51:01 +0000 (17:51 +0200)
committerJunio C Hamano <gitster@pobox.com>
Thu, 3 Oct 2024 16:53:04 +0000 (09:53 -0700)
commitbebf0e248775146cac0b9eee22ed9d75848d636f
treedaa634567553cfcf58fdee0a8672f1176c6bbc69
parent296743a7caf99f816cec4e6992690151fdfcdcd5
archive: fix misleading error message

The error message added by 296743a7ca (archive: load index before
pathspec checks, 2024-09-21) is misleading: unpack_trees() is not
touching the working tree at all here, but just loading a tree into
the index.  Correct it.

Signed-off-by: René Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
archive.c