Staging
v0.5.1
v0.5.1
Revision 8ceca74a39788eeda64e9aa625fdebaad219ab42 authored by J. Bruce Fields on 05 June 2007, 22:42:58 UTC, committed by J. Bruce Fields on 10 June 2007, 20:38:50 UTC
I forgot to give an ID for this section. Signed-off-by: "J. Bruce Fields" <bfields@citi.umich.edu>
1 parent 1da158e
generate-cmdlist.sh
#!/bin/sh
echo "/* Automatically generated by $0 */
struct cmdname_help
{
char name[16];
char help[80];
};
struct cmdname_help common_cmds[] = {"
sort <<\EOF |
add
apply
archive
bisect
branch
checkout
cherry-pick
clone
commit
diff
fetch
grep
init
log
merge
mv
prune
pull
push
rebase
reset
revert
rm
show
show-branch
status
tag
EOF
while read cmd
do
sed -n '
/NAME/,/git-'"$cmd"'/H
${
x
s/.*git-'"$cmd"' - \(.*\)/ {"'"$cmd"'", "\1"},/
p
}' "Documentation/git-$cmd.txt"
done
echo "};"
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...