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>
maint
Robert P. J. Day 2018-06-03 10:32:50 -04:00 committed by Junio C Hamano
parent a42a58d7b6
commit efde7b725c
1 changed files with 1 additions and 1 deletions

View File

@ -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)