* [PATCH 2/3] Prepare for grouped common command list generation [not found] <1164985711791-git-send-email-pclouds@gmail.com> @ 2006-12-01 15:08 ` pclouds 2006-12-01 15:08 ` [PATCH 3/3] Group common commands into for groups for easier navigation pclouds 0 siblings, 1 reply; 2+ messages in thread From: pclouds @ 2006-12-01 15:08 UTC (permalink / raw) To: git; +Cc: Nguyễn Thái Ngọc Duy Signed-off-by: Nguyá» n Thái Ngá»c Duy <pclouds@gmail.com> --- generate-cmdlist.sh | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/generate-cmdlist.sh b/generate-cmdlist.sh index 5450918..b45495d 100755 --- a/generate-cmdlist.sh +++ b/generate-cmdlist.sh @@ -9,7 +9,7 @@ struct cmdname_help struct cmdname_help common_cmds[] = {" -sort <<\EOF | +cat <<\EOF | add apply archive @@ -41,6 +41,11 @@ verify-tag EOF while read cmd do + [ -z "$cmd" ] && continue + if echo $cmd|grep -q '^G:'; then + echo ' {"'$(echo -n $cmd|sed 's/^G://')'",""},' + continue + fi sed -n ' /NAME/,/git-'"$cmd"'/H ${ -- 1.4.4.rc1.g9124 ^ permalink raw reply related [flat|nested] 2+ messages in thread
* [PATCH 3/3] Group common commands into for groups for easier navigation 2006-12-01 15:08 ` [PATCH 2/3] Prepare for grouped common command list generation pclouds @ 2006-12-01 15:08 ` pclouds 0 siblings, 0 replies; 2+ messages in thread From: pclouds @ 2006-12-01 15:08 UTC (permalink / raw) To: git; +Cc: Nguyễn Thái Ngọc Duy Repository/Branch level commands are grouped into group Repository File manipulation commands are in group Manipulation Other status commands are in group Status The rest is in group Other Signed-off-by: Nguyá» n Thái Ngá»c Duy <pclouds@gmail.com> --- This is a suggestion. Someone may have better layout than me. generate-cmdlist.sh | 35 +++++++++++++++++++++-------------- 1 files changed, 21 insertions(+), 14 deletions(-) diff --git a/generate-cmdlist.sh b/generate-cmdlist.sh index b45495d..f385854 100755 --- a/generate-cmdlist.sh +++ b/generate-cmdlist.sh @@ -10,33 +10,40 @@ struct cmdname_help struct cmdname_help common_cmds[] = {" cat <<\EOF | -add -apply -archive -bisect +G:Repository +init-db branch -checkout -cherry-pick clone -commit -diff fetch -grep -init-db -log merge -mv prune pull push -rebase reset +tag + +G:Manipulation +add +apply +checkout +commit +mv revert rm + +G:Status +diff +log show show-branch status -tag + +G:Other +archive +bisect +cherry-pick +grep +rebase verify-tag EOF while read cmd -- 1.4.4.rc1.g9124 ^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-12-01 15:09 UTC | newest] Thread overview: 2+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- [not found] <1164985711791-git-send-email-pclouds@gmail.com> 2006-12-01 15:08 ` [PATCH 2/3] Prepare for grouped common command list generation pclouds 2006-12-01 15:08 ` [PATCH 3/3] Group common commands into for groups for easier navigation pclouds
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).