]> git.ipfire.org Git - thirdparty/git.git/commit
remote: announce removal of "branches/" and "remotes/"
authorPatrick Steinhardt <ps@pks.im>
Wed, 22 Jan 2025 11:31:33 +0000 (12:31 +0100)
committerJunio C Hamano <gitster@pobox.com>
Fri, 24 Jan 2025 16:08:56 +0000 (08:08 -0800)
commit8ccc75c2452b5814d2445d60d54266293ca48674
tree9efd49c1295b4afe1cdd049242b46ef53f9de245
parent68f51871df87d82a504cbcca3230aba570719ba6
remote: announce removal of "branches/" and "remotes/"

Back when Git was in its infancy, remotes were configured via separate
files in "branches/" (back in 2005). This mechanism was replaced later
that year with the "remotes/" directory. Both mechanisms have eventually
been replaced by config-based remotes, and it is very unlikely that
anybody still uses these directories to configure their remotes.

Both of these directories have been marked as deprecated, one in 2005
and the other one in 2011. Follow through with the deprecation and
finally announce the removal of these features in Git 3.0.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
[jc: with a small tweak to the help message]
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/BreakingChanges.txt
Documentation/gitrepository-layout.txt
builtin/remote.c
remote.c
remote.h
t/t5505-remote.sh
t/t5510-fetch.sh
t/t5515-fetch-merge-logic.sh
t/t5516-fetch-push.sh