{"thread":{"id":"7335","subject":"[PATCH 2/2] cogito: understand permissions written as \"100755\"","startedAt":"2007-03-20T17:04:23Z","lastAt":"2007-03-20T17:04:29Z","messageCount":2,"participants":["Pavel Roskin"],"isPatch":true,"patchVersion":1,"patchTotal":2},"messages":[{"id":"37632","messageId":"20070320170423.9139.43914.stgit@dv.roinet.com","threadId":"7335","inReplyTo":null,"subject":"[PATCH 1/2] cogito: fix t9105-fetch-local.sh - use \"git-fsck-objects --full\"","fromName":"Pavel Roskin","fromEmail":"proski@gnu.org","sentAt":"2007-03-20T17:04:23Z","receivedAt":"2007-03-20T17:04:23Z","isPatch":true,"sender":{"key":"proski@gnu.org","avatar":null},"body":"git-fsck-objects without \"--full\" won't succeed in a repository that\nuses \"alternates\".\n\nSigned-off-by: Pavel Roskin <proski@gnu.org>\n---\n\n t/t9105-fetch-local.sh |    2 +-\n 1 files changed, 1 insertions(+), 1 deletions(-)\n\ndiff --git a/t/t9105-fetch-local.sh b/t/t9105-fetch-local.sh\nindex 35e2778..184ae69 100755\n--- a/t/t9105-fetch-local.sh\n+++ b/t/t9105-fetch-local.sh\n@@ -66,6 +66,6 @@ test_expect_success 'incremental update in repo2' \\\n \t'(cd repo2 && cg-update)'\n test_expect_success 'verifying incremental update' \\\n \t\"(cmp repo1/.git/refs/heads/master repo2/.git/refs/heads/master &&\n-\t  cd repo2 && git-fsck-objects)\"\n+\t  cd repo2 && git-fsck-objects --full)\"\n \n test_done\n"},{"id":"37631","messageId":"20070320170428.9139.69748.stgit@dv.roinet.com","threadId":"7335","inReplyTo":"20070320170423.9139.43914.stgit@dv.roinet.com","subject":"[PATCH 2/2] cogito: understand permissions written as \"100755\"","fromName":"Pavel Roskin","fromEmail":"proski@gnu.org","sentAt":"2007-03-20T17:04:29Z","receivedAt":"2007-03-20T17:04:29Z","isPatch":true,"sender":{"key":"proski@gnu.org","avatar":null},"body":"The original code only recognized \"755\", which is not working anymore. \nThis fixes t9204-merge-weird-conflicts.sh\n\nSigned-off-by: Pavel Roskin <proski@gnu.org>\n---\n\n cg-Xmergefile |   11 ++++++-----\n 1 files changed, 6 insertions(+), 5 deletions(-)\n\ndiff --git a/cg-Xmergefile b/cg-Xmergefile\nindex ac9d356..1219d1f 100755\n--- a/cg-Xmergefile\n+++ b/cg-Xmergefile\n@@ -53,11 +53,12 @@ warning()\n # PlusMinus+XModeChar ;-)\n pmxmc()\n {\n-\tif [ \"$1\" = \"755\" ]; then\n-\t\t_pmxmc=+\n-\telse\n-\t\t_pmxmc=-\n-\tfi\n+\tcase \"$1\" in\n+\t*755)\n+\t\t_pmxmc=+;;\n+\t*)\n+\t\t_pmxmc=-;;\n+\tesac\n }\n \n # Set ways[] to the symbolic names of the particular ways\n"}]}