summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--examples/git-metapull6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/git-metapull b/examples/git-metapull
index 8842b11..e9a5090 100644
--- a/examples/git-metapull
+++ b/examples/git-metapull
@@ -1,8 +1,8 @@
#!/bin/sh
#
-# This script can be used instead of git-pull when updating a remote
+# This script can be used instead of git pull when updating a remote
# repo to make sure the metadata matches what is stored in the repo.
-# It will do a git-pull, show a list of changes to be made to the metadata,
+# It will do a git pull, show a list of changes to be made to the metadata,
# and after getting confirmation, apply the changes.
DO_MTIME=yes
@@ -20,7 +20,7 @@ exit_on_fail() {
}
exit_on_fail \
- git-pull
+ git pull "$@"
if [ ! -e "$MSFILE" ]; then
echo "\"$MSFILE\" missing" >&2