{"thread":{"id":"43584","subject":"[PATCH 3/3] Group common commands into for groups for easier navigation","startedAt":"2006-12-01T15:08:30Z","lastAt":"2006-12-01T15:08:31Z","messageCount":2,"participants":["pclouds@gmail.com"],"isPatch":true,"patchVersion":1,"patchTotal":3},"messages":[{"id":"298033","messageId":"11649857203869-git-send-email-pclouds@gmail.com","threadId":"43584","inReplyTo":"1164985711791-git-send-email-pclouds@gmail.com","subject":"[PATCH 2/3] Prepare for grouped common command list generation","fromName":"","fromEmail":"pclouds@gmail.com","sentAt":"2006-12-01T15:08:30Z","receivedAt":"2006-12-01T15:08:30Z","isPatch":true,"sender":{"key":"pclouds@gmail.com","avatar":"https://avatars.githubusercontent.com/u/720?v=4"},"body":"Signed-off-by: Nguyá»n ThÃ¡i Ngá»c Duy <pclouds@gmail.com>\n---\n generate-cmdlist.sh |    7 ++++++-\n 1 files changed, 6 insertions(+), 1 deletions(-)\n\ndiff --git a/generate-cmdlist.sh b/generate-cmdlist.sh\nindex 5450918..b45495d 100755\n--- a/generate-cmdlist.sh\n+++ b/generate-cmdlist.sh\n@@ -9,7 +9,7 @@ struct cmdname_help\n \n struct cmdname_help common_cmds[] = {\"\n \n-sort <<\\EOF |\n+cat <<\\EOF |\n add\n apply\n archive\n@@ -41,6 +41,11 @@ verify-tag\n EOF\n while read cmd\n do\n+     [ -z \"$cmd\" ] && continue\n+     if echo $cmd|grep -q '^G:'; then\n+       echo '  {\"'$(echo -n $cmd|sed 's/^G://')'\",\"\"},'\n+       continue\n+     fi\n      sed -n '\n      /NAME/,/git-'\"$cmd\"'/H\n      ${\n-- \n1.4.4.rc1.g9124\n"},{"id":"295720","messageId":"11649857351377-git-send-email-pclouds@gmail.com","threadId":"43584","inReplyTo":"11649857203869-git-send-email-pclouds@gmail.com","subject":"[PATCH 3/3] Group common commands into for groups for easier navigation","fromName":"","fromEmail":"pclouds@gmail.com","sentAt":"2006-12-01T15:08:31Z","receivedAt":"2006-12-01T15:08:31Z","isPatch":true,"sender":{"key":"pclouds@gmail.com","avatar":"https://avatars.githubusercontent.com/u/720?v=4"},"body":"Repository/Branch level commands are grouped into group Repository\nFile manipulation commands are in group Manipulation\nOther status commands are in group Status\nThe rest is in group Other\n\nSigned-off-by: Nguyá»n ThÃ¡i Ngá»c Duy <pclouds@gmail.com>\n---\nThis is a suggestion. Someone may have better layout than me.\n\n generate-cmdlist.sh |   35 +++++++++++++++++++++--------------\n 1 files changed, 21 insertions(+), 14 deletions(-)\n\ndiff --git a/generate-cmdlist.sh b/generate-cmdlist.sh\nindex b45495d..f385854 100755\n--- a/generate-cmdlist.sh\n+++ b/generate-cmdlist.sh\n@@ -10,33 +10,40 @@ struct cmdname_help\n struct cmdname_help common_cmds[] = {\"\n \n cat <<\\EOF |\n-add\n-apply\n-archive\n-bisect\n+G:Repository\n+init-db\n branch\n-checkout\n-cherry-pick\n clone\n-commit\n-diff\n fetch\n-grep\n-init-db\n-log\n merge\n-mv\n prune\n pull\n push\n-rebase\n reset\n+tag\n+\n+G:Manipulation\n+add\n+apply\n+checkout\n+commit\n+mv\n revert\n rm\n+\n+G:Status\n+diff\n+log\n show\n show-branch\n status\n-tag\n+\n+G:Other\n+archive\n+bisect\n+cherry-pick\n+grep\n+rebase\n verify-tag\n EOF\n while read cmd\n-- \n1.4.4.rc1.g9124\n"}]}