From: Ramkumar Ramachandra Date: Sat, 22 Jun 2013 07:58:21 GMT Subject: [PATCH v2 14/14] remote: add comment about read_{branches,remotes}_file Message-ID: <1371887901-5659-15-git-send-email-artagnon@gmail.com> In-Reply-To: <1371887901-5659-1-git-send-email-artagnon@gmail.com> Explain that they are fringe features. Signed-off-by: Ramkumar Ramachandra --- remote.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/remote.c b/remote.c index 128b210..f980928 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++; } +/* + * Fringe feature. Modern Git encourages the use of gitconfig instead + * of remotes-file. + */ 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); } +/* + * Fringe feature. Modern Git encourages the use of gitconfig instead + * of branches-file. + */ static void read_branches_file(struct remote *remote) { char *frag; -- 1.8.3.1.498.gacf2885