{"thread":{"id":"2061","subject":"[PATCH 3/3] Trivial optimization","startedAt":"2005-10-10T20:50:34Z","lastAt":"2005-10-10T20:50:34Z","messageCount":1,"participants":["H. Peter Anvin"],"isPatch":true,"patchVersion":1,"patchTotal":3},"messages":[{"id":"9923","messageId":"434AD41A.2040903@zytor.com","threadId":"2061","inReplyTo":null,"subject":"[PATCH 3/3] Trivial optimization","fromName":"H. Peter Anvin","fromEmail":"hpa@zytor.com","sentAt":"2005-10-10T20:50:34Z","receivedAt":"2005-10-10T20:50:34Z","isPatch":true,"sender":{"key":"hpa@zytor.com","avatar":null},"body":"\n\nGIT_DIR_ENVIRONMENT is always a string literal\n\n---\ncommit db6b7c2ba5e59184de22c55b36c21b5ef94da325\ntree dc809b653f9d7dcfa096ca763987ccb0e87599ba\nparent 16e46159b554116a7d95a206913fcdf7e79e07d0\nauthor Peter Anvin <hpa@tazenda.sc.orionmulti.com> Mon, 10 Oct 2005 12:33:51 -0700\ncommitter Peter Anvin <hpa@tazenda.sc.orionmulti.com> Mon, 10 Oct 2005 12:33:51 -0700\n\n rsh.c |    3 +--\n 1 files changed, 1 insertions(+), 2 deletions(-)\n\ndiff --git a/rsh.c b/rsh.c\nindex 8278eab..64c4809 100644\n--- a/rsh.c\n+++ b/rsh.c\n@@ -73,8 +73,7 @@ int setup_connection(int *fd_in, int *fd\n \tposn = command;\n \tof = 0;\n \tof |= add_to_string(&posn, &sizen, \"env \", 0);\n-\tof |= add_to_string(&posn, &sizen, GIT_DIR_ENVIRONMENT, 0);\n-\tof |= add_to_string(&posn, &sizen, \"=\", 0);\n+\tof |= add_to_string(&posn, &sizen, GIT_DIR_ENVIRONMENT \"=\", 0);\n \tof |= add_to_string(&posn, &sizen, path, 1);\n \tof |= add_to_string(&posn, &sizen, \" \", 0);\n \tof |= add_to_string(&posn, &sizen, remote_prog, 1);\n"}]}