Skip to content

Commit a89a2fb

Browse files
avargitster
authored andcommitted
parse-remote: remove this now-unused library
The previous two commits removed the last use of a function in this library, but most of it had been dead code for a while[1][2]. Only the "get_default_remote" function was still being used. Even though we had a manual page for this library it was never intended (or I expect, actually) used outside of git.git. Let's just remove it, if anyone still cares about a function here they can pull them into their own project[3]. 1. Last use of error_on_missing_default_upstream(): d03ebd4 ("rebase: remove the rebase.useBuiltin setting", 2019-03-18) 2. Last use of get_remote_merge_branch(): 49eb8d3 ("Remove contrib/examples/*", 2018-03-25) 3. https://lore.kernel.org/git/[email protected]/ Signed-off-by: Ævar Arnfjörð Bjarmason <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent e63f7b0 commit a89a2fb

File tree

6 files changed

+0
-129
lines changed

6 files changed

+0
-129
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,6 @@
114114
/git-pack-redundant
115115
/git-pack-objects
116116
/git-pack-refs
117-
/git-parse-remote
118117
/git-patch-id
119118
/git-prune
120119
/git-prune-packed

Documentation/git-parse-remote.txt

Lines changed: 0 additions & 23 deletions
This file was deleted.

Makefile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -613,7 +613,6 @@ SCRIPT_SH += git-submodule.sh
613613
SCRIPT_SH += git-web--browse.sh
614614

615615
SCRIPT_LIB += git-mergetool--lib
616-
SCRIPT_LIB += git-parse-remote
617616
SCRIPT_LIB += git-rebase--preserve-merges
618617
SCRIPT_LIB += git-sh-i18n
619618
SCRIPT_LIB += git-sh-setup
@@ -2577,7 +2576,6 @@ XGETTEXT_FLAGS_PERL = $(XGETTEXT_FLAGS) --language=Perl \
25772576
--keyword=__ --keyword=N__ --keyword="__n:1,2"
25782577
LOCALIZED_C = $(C_OBJ:o=c) $(LIB_H) $(GENERATED_H)
25792578
LOCALIZED_SH = $(SCRIPT_SH)
2580-
LOCALIZED_SH += git-parse-remote.sh
25812579
LOCALIZED_SH += git-rebase--preserve-merges.sh
25822580
LOCALIZED_SH += git-sh-setup.sh
25832581
LOCALIZED_PERL = $(SCRIPT_PERL)

command-list.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,6 @@ git-p4 foreignscminterface
135135
git-pack-objects plumbingmanipulators
136136
git-pack-redundant plumbinginterrogators
137137
git-pack-refs ancillarymanipulators
138-
git-parse-remote synchelpers
139138
git-patch-id purehelpers
140139
git-prune ancillarymanipulators complete
141140
git-prune-packed plumbingmanipulators

git-parse-remote.sh

Lines changed: 0 additions & 101 deletions
This file was deleted.

git-submodule.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ USAGE="[--quiet] [--cached]
2020
OPTIONS_SPEC=
2121
SUBDIRECTORY_OK=Yes
2222
. git-sh-setup
23-
. git-parse-remote
2423
require_work_tree
2524
wt_prefix=$(git rev-parse --show-prefix)
2625
cd_to_toplevel

0 commit comments

Comments
 (0)