summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: ad4e9ce)
raw | patch | inline | side by side (parent: ad4e9ce)
author | Linus Torvalds <torvalds@ppc970.osdl.org> | |
Fri, 29 Apr 2005 21:56:18 +0000 (14:56 -0700) | ||
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | |
Fri, 29 Apr 2005 21:56:18 +0000 (14:56 -0700) |
Add "git-" prefixes to git commands.
applypatch | patch | blob | history |
diff --git a/applypatch b/applypatch
index 397e4a0e506f1c5765767057dfe506154b743b83..6e21409682bd858a3f63bdbaeacce29138be56a6 100755 (executable)
--- a/applypatch
+++ b/applypatch
echo Applying "'$SUBJECT'"
echo
-check-files $(cat $FILES) || exit 1
-checkout-cache -q $(cat $FILES) || exit 1
+git-check-files $(cat $FILES) || exit 1
+git-checkout-cache -q $(cat $FILES) || exit 1
patch -u --no-backup-if-mismatch -f -p1 --fuzz=0 --input=$PATCHFILE || exit 1
-update-cache --add --remove $(cat $FILES) || exit 1
-tree=$(write-tree) || exit 1
+git-update-cache --add --remove $(cat $FILES) || exit 1
+tree=$(git-write-tree) || exit 1
echo Wrote tree $tree
-commit=$(commit-tree $tree -p $(cat .git/HEAD) < $final) || exit 1
+commit=$(git-commit-tree $tree -p $(cat .git/HEAD) < $final) || exit 1
echo Committed: $commit
echo $commit > .git/HEAD
-