Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
sha1-file.c: correct $GITDIR to $GIT_DIR in a comment
author
Robert P. J. Day
<rpjday@crashcourse.ca>
Sun, 3 Jun 2018 14:32:50 +0000
(10:32 -0400)
committer
Junio C Hamano
<gitster@pobox.com>
Mon, 4 Jun 2018 03:25:31 +0000
(12:25 +0900)
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>
sha1_file.c
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(from parent 1:
a42a58d
)
diff --git
a/sha1_file.c
b/sha1_file.c
index 3da70ac650a8cdeca6ef8a6a424a7740d38267d5..1c39b2e6d18fbeb5f844136da9871ad99ec1ba9c 100644
(file)
--- 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)