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 <rpjday@crashcourse.ca> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Robert P. J. Day committed Jun 3, 2018 at 10:32 UTC efde7b725c73c806a61f7ba87a6f2359238180eb
1 file changed +1 -1
sha1_file.c
+1 -1
@@ -583,7 +583,7 @@ void add_to_alternates_memory(const char *reference)
583 /*
584 * Compute the exact path an alternate is at and returns it. In case of
585 * error NULL is returned and the human readable error is added to `err`
586 - * `path` may be relative and should point to $GITDIR.
586 + * `path` may be relative and should point to $GIT_DIR.
587 * `err` must not be null.
588 */
589 char *compute_alternate_path(const char *path, struct strbuf *err)