Signed-off-by: Ramkumar Ramachandra <[email protected]>
---
remote.c | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/remote.c b/remote.c
index 128b210..b487865 100644
--- a/remote.c
+++ b/remote.c
@@ -227,6 +227,10 @@ static void add_instead_of(struct rewrite *rewrite, const
char *instead_of)
rewrite->instead_of_nr++;
}
+/*
+ * Deprecated; provided for backward compatibility with ancient
+ * repositories. Modern Git does not encourage their use.
+ */
static void read_remotes_file(struct remote *remote)
{
FILE *f = fopen(git_path("remotes/%s", remote->name), "r");
@@ -274,6 +278,10 @@ static void read_remotes_file(struct remote *remote)
fclose(f);
}
+/*
+ * Deprecated; provided for backward compatibility with ancient
+ * repositories. Modern Git does not encourage their use.
+ */
static void read_branches_file(struct remote *remote)
{
char *frag;
--
1.8.3.1.499.g7ad3486.dirty
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html