summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2018-06-18 17:18:40 (GMT)
committerJunio C Hamano <gitster@pobox.com>2018-06-18 17:18:40 (GMT)
commit1bd0e6779a3d6802826d2dc7b85b0ed009790bb6 (patch)
treef645e9caf684a45ed8a3d2aa47df5e7414511be8
parent2e157d134c5aa88185b3c9af80ff96453ac38e5e (diff)
parentefde7b725c73c806a61f7ba87a6f2359238180eb (diff)
downloadgit-1bd0e6779a3d6802826d2dc7b85b0ed009790bb6.zip
git-1bd0e6779a3d6802826d2dc7b85b0ed009790bb6.tar.gz
git-1bd0e6779a3d6802826d2dc7b85b0ed009790bb6.tar.bz2
Merge branch 'rd/comment-typofix-in-sha1-file'
In code comment typofix * rd/comment-typofix-in-sha1-file: sha1-file.c: correct $GITDIR to $GIT_DIR in a comment
-rw-r--r--sha1-file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sha1-file.c b/sha1-file.c
index 555e780..695e5c6 100644
--- a/sha1-file.c
+++ b/sha1-file.c
@@ -610,7 +610,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)