]> git.ipfire.org Git - thirdparty/git.git/commit
generate-cmdlist.sh: avoid selecting synopsis at wrong place
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>
Sun, 30 Nov 2008 10:54:31 +0000 (17:54 +0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 1 Dec 2008 02:16:32 +0000 (18:16 -0800)
commit16d258332e35dad58c0b22cd4d5c0e63ebb25328
tree0d387bce358675d2e90b27287091100b915571ef
parent539eec48f0a101b45c5f150a2bbc067fd85bc96d
generate-cmdlist.sh: avoid selecting synopsis at wrong place

In "common" man pages there is luckily no "NAME" anywhere except at
beginning of documents. If there is another "NAME", sed could
mis-select it and lead to common-cmds.h corruption. So better nail it
at beginning of line, which would reduce corruption chance.

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
generate-cmdlist.sh