| author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | |
| Sun, 30 Nov 2008 10:54:31 +0000 (17:54 +0700) | ||
| committer | Junio C Hamano <gitster@pobox.com> | |
| Mon, 1 Dec 2008 02:16:32 +0000 (18:16 -0800) | ||
| commit | 16d258332e35dad58c0b22cd4d5c0e63ebb25328 | |
| tree | 0d387bce358675d2e90b27287091100b915571ef | tree | snapshot |
| parent | 539eec48f0a101b45c5f150a2bbc067fd85bc96d | commit | diff |
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>
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 | diff | blob | history |