[PATCH] git-merge-one-file-script cleanups from Cogito
commitec73962d8e17e89ac0c4b21f07cefe16594e07a2
authorPetr Baudis <pasky@ucw.cz>
Wed, 8 Jun 2005 23:38:20 +0000 (9 01:38 +0200)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Wed, 8 Jun 2005 23:51:26 +0000 (8 16:51 -0700)
tree797122e96c198b45ad3c39d93c1dd3e0dd5ddd1f
parent17ebe977d72290dcdc848b78ae2e65b59d4e1b4c
[PATCH] git-merge-one-file-script cleanups from Cogito

Chain the resolving sequences (e.g. git-cat-file - chmod -
git-update-cache) through &&s so we stop right away in case one of the
command fails, and report the error code to the script caller.

Also add a copyright notice, some blank lines, ;; on a separate line,
and nicer error messages.

Signed-off-by: Petr Baudis <pasky@ucw.cz>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
git-merge-one-file-script