]> git.ipfire.org Git - thirdparty/git.git/commit
contrib: remove "git-new-workdir"
authorPatrick Steinhardt <ps@pks.im>
Mon, 12 May 2025 09:20:00 +0000 (11:20 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 12 May 2025 17:55:47 +0000 (10:55 -0700)
commit15405cd325be6f51bea1115be6cc842d5b06f59d
tree31554890dbca40549ed0204e4ab4cfa7e04c34f4
parent95bc4474190515ca03ebe8719951949ecef73a6c
contrib: remove "git-new-workdir"

The "git-new-workdir" command has been introduced to make it possible to
have a separate working directory in a different place. The command thus
predates git-worktree(1), which is what people use nowadays to create
any such working directory. As such, the script doesn't really have much
of a reason to exist nowadays anymore.

It also doesn't seem like the script is still in use: the last time it
has received an update was in e32afab7b03 (git-new-workdir: don't fail
if the target directory is empty, 2014-11-26), more than a decade ago.
Remove it as well as the tests that depend on it.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/workdir/.gitattributes [deleted file]
contrib/workdir/git-new-workdir [deleted file]
t/meson.build
t/t1021-rerere-in-workdir.sh [deleted file]
t/t3000-ls-files-others.sh