{"thread":{"id":"48636","subject":"[PATCH v2] sha1-file.c: correct $GITDIR to $GIT_DIR in a comment","startedAt":"2018-06-03T14:35:01Z","lastAt":"2018-06-03T14:35:01Z","messageCount":1,"participants":["Robert P. J. Day"],"isPatch":true,"patchVersion":2,"patchTotal":null},"messages":[{"id":"349146","messageId":"alpine.LFD.2.21.1806031030570.23993@localhost.localdomain","threadId":"48636","inReplyTo":null,"subject":"[PATCH v2] sha1-file.c: correct $GITDIR to $GIT_DIR in a comment","fromName":"Robert P. J. Day","fromEmail":"rpjday@crashcourse.ca","sentAt":"2018-06-03T14:32:50Z","receivedAt":"2018-06-03T14:35:01Z","isPatch":true,"sender":{"key":"rpjday@crashcourse.ca","avatar":"https://avatars.githubusercontent.com/u/226084077?v=4"},"body":"Fix single misspelling of $GITDIR to correct $GIT_DIR in a comment.\n\nSigned-off-by: Robert P. J. Day <rpjday@crashcourse.ca>\n\n---\n\n  updated patch to clarify that the misspelling is only in a comment.\n\ndiff --git a/sha1-file.c b/sha1-file.c\nindex 555e780f4..695e5c627 100644\n--- a/sha1-file.c\n+++ b/sha1-file.c\n@@ -610,7 +610,7 @@ void add_to_alternates_memory(const char *reference)\n /*\n  * Compute the exact path an alternate is at and returns it. In case of\n  * error NULL is returned and the human readable error is added to `err`\n- * `path` may be relative and should point to $GITDIR.\n+ * `path` may be relative and should point to $GIT_DIR.\n  * `err` must not be null.\n  */\n char *compute_alternate_path(const char *path, struct strbuf *err)\n\nrday\n\n-- \n\n========================================================================\nRobert P. J. Day                                 Ottawa, Ontario, CANADA\n                  http://crashcourse.ca/dokuwiki\n\nTwitter:                                       http://twitter.com/rpjday\nLinkedIn:                               http://ca.linkedin.com/in/rpjday\n========================================================================\n"}]}