{"thread":{"id":"754","subject":"[COGITO PATCH] fix \"cg-Xnormid: command not found\" error","startedAt":"2005-05-29T03:15:45Z","lastAt":"2005-05-29T12:06:28Z","messageCount":3,"participants":["YOSHIFUJI Hideaki / 吉藤英明","Marcel Holtmann","Petr Baudis"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"4152","messageId":"20050529.121545.77345008.yoshfuji@linux-ipv6.org","threadId":"754","inReplyTo":null,"subject":"[COGITO PATCH] fix \"cg-Xnormid: command not found\" error","fromName":"YOSHIFUJI Hideaki / 吉藤英明","fromEmail":"yoshfuji@linux-ipv6.org","sentAt":"2005-05-29T03:15:45Z","receivedAt":"2005-05-29T03:15:45Z","isPatch":true,"sender":{"key":"yoshfuji@linux-ipv6.org","avatar":"https://gravatar.com/avatar/92c288bb8d3e34afd7bb1574cc1079a3d0aa6d36d80955d1ec6a1cea2868d392?d=mp&s=160"},"body":"Call cg-Xnormid with ${COGITO_LIB} to fix \"cg-Xnormid: command not found\"\nerror.\n\nSigned-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>\n\nIndex: commit-id\n===================================================================\n--- c8e987e5e4608c1144293cd3f852210d70b572cb/commit-id  (mode:100755)\n+++ uncommitted/commit-id  (mode:100755)\n@@ -8,7 +8,7 @@\n . ${COGITO_LIB}cg-Xlib\n \n id=\"$1\"\n-normid=$(cg-Xnormid \"$id\") || exit 1\n+normid=$(${COGITO_LIB}cg-Xnormid \"$id\") || exit 1\n \n if [ \"$(git-cat-file -t \"$normid\")\" != \"commit\" ]; then\n \techo \"Invalid commit id: $id\" >&2\nIndex: tree-id\n===================================================================\n--- c8e987e5e4608c1144293cd3f852210d70b572cb/tree-id  (mode:100755)\n+++ uncommitted/tree-id  (mode:100755)\n@@ -6,7 +6,7 @@\n # Takes ID of the appropriate commit, defaults to HEAD.\n \n id=\"$1\"\n-normid=$(cg-Xnormid \"$id\") || exit 1\n+normid=$(${COGITO_LIB}cg-Xnormid \"$id\") || exit 1\n type=$(git-cat-file -t \"$normid\")\n \n if [ \"$type\" = \"commit\" ]; then\n\n\n-- \nYOSHIFUJI Hideaki @ USAGI Project  <yoshfuji@linux-ipv6.org>\nGPG-FP  : 9022 65EB 1ECF 3AD1 0BDF  80D8 4807 F894 E062 0EEA\n"},{"id":"4162","messageId":"1117360678.7072.53.camel@pegasus","threadId":"754","inReplyTo":"20050529.121545.77345008.yoshfuji@linux-ipv6.org","subject":"Re: [COGITO PATCH] fix \"cg-Xnormid: command not found\" error","fromName":"Marcel Holtmann","fromEmail":"marcel@holtmann.org","sentAt":"2005-05-29T09:57:57Z","receivedAt":"2005-05-29T09:57:57Z","isPatch":true,"sender":{"key":"marcel@holtmann.org","avatar":null},"body":"Hi,\n\n> Call cg-Xnormid with ${COGITO_LIB} to fix \"cg-Xnormid: command not found\"\n> error.\n\nI made the same patch, but when I used cg-diff to create the patch, I\ngot two extra annoying lines at the top.\n\ncommit-id: needs update\ntree-id: needs update\nIndex: commit-id\n===================================================================\n--- c8e987e5e4608c1144293cd3f852210d70b572cb/commit-id  (mode:100755)\n+++ uncommitted/commit-id  (mode:100755)\n\nI think the \"needs update\" lines came from \"git-update-cache --refresh\"\nand we don't really want them there. Should we simply direct the output\nto /dev/null or what?\n\nRegards\n\nMarcel\n\n\n"},{"id":"4164","messageId":"20050529120628.GE1036@pasky.ji.cz","threadId":"754","inReplyTo":"1117360678.7072.53.camel@pegasus","subject":"Re: [COGITO PATCH] fix \"cg-Xnormid: command not found\" error","fromName":"Petr Baudis","fromEmail":"pasky@ucw.cz","sentAt":"2005-05-29T12:06:28Z","receivedAt":"2005-05-29T12:06:28Z","isPatch":true,"sender":{"key":"pasky@ucw.cz","avatar":"https://avatars.githubusercontent.com/u/18439?v=4"},"body":"Dear diary, on Sun, May 29, 2005 at 11:57:57AM CEST, I got a letter\nwhere Marcel Holtmann <marcel@holtmann.org> told me that...\n> I made the same patch, but when I used cg-diff to create the patch, I\n> got two extra annoying lines at the top.\n> \n> commit-id: needs update\n> tree-id: needs update\n> Index: commit-id\n> ===================================================================\n> --- c8e987e5e4608c1144293cd3f852210d70b572cb/commit-id  (mode:100755)\n> +++ uncommitted/commit-id  (mode:100755)\n> \n> I think the \"needs update\" lines came from \"git-update-cache --refresh\"\n> and we don't really want them there. Should we simply direct the output\n> to /dev/null or what?\n\nOh yes, this is one of the small things I've long meant to fix but never\nreally got to it. Thanks for reminding me, fixed now. :-)\n\n-- \n\t\t\t\tPetr \"Pasky\" Baudis\nStuff: http://pasky.or.cz/\nC++: an octopus made by nailing extra legs onto a dog. -- Steve Taylor\n"}]}