From: Robert P. J. Day Date: Sun, 3 Jun 2018 14:32:50 +0000 (-0400) Subject: sha1-file.c: correct $GITDIR to $GIT_DIR in a comment X-Git-Tag: v2.18.0~23^2 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/efde7b725c73c806a61f7ba87a6f2359238180eb?hp=a42a58d7b62cc1d6301440e81a83feed9d7c118c sha1-file.c: correct $GITDIR to $GIT_DIR in a comment Fix single misspelling of $GITDIR to correct $GIT_DIR in a comment. Signed-off-by: Robert P. J. Day Signed-off-by: Junio C Hamano --- diff --git a/sha1_file.c b/sha1_file.c index 3da70ac650..1c39b2e6d1 100644 --- a/sha1_file.c +++ b/sha1_file.c @@ -583,7 +583,7 @@ void add_to_alternates_memory(const char *reference) /* * Compute the exact path an alternate is at and returns it. In case of * error NULL is returned and the human readable error is added to `err` - * `path` may be relative and should point to $GITDIR. + * `path` may be relative and should point to $GIT_DIR. * `err` must not be null. */ char *compute_alternate_path(const char *path, struct strbuf *err)