summaryrefslogtreecommitdiff
path: root/bin/git-pull-safe
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2017-02-16 13:48:01 -0700
committerSean Whitton <spwhitton@spwhitton.name>2017-02-16 13:48:01 -0700
commitec981cb46fa43eab3511a97efc2cd0dba5141d2e (patch)
treef4c11ec494241e4e378ac8348813defa02635cd4 /bin/git-pull-safe
parent590daafd769e06b834bd00433462168d700b9d92 (diff)
downloaddotfiles-ec981cb46fa43eab3511a97efc2cd0dba5141d2e.tar.gz
comment
Diffstat (limited to 'bin/git-pull-safe')
-rwxr-xr-xbin/git-pull-safe9
1 files changed, 7 insertions, 2 deletions
diff --git a/bin/git-pull-safe b/bin/git-pull-safe
index f92f319f..9ce00cb0 100755
--- a/bin/git-pull-safe
+++ b/bin/git-pull-safe
@@ -2,8 +2,13 @@
# Update all remote-tracking branches, and as many local branches that
# we can fast-forward. Additionally, if the current branch looks like
-# a dgit suite-tracking branch, merge the current contents of the
-# Debian archive into the current branch
+# a dgit suite-tracking branch, merge into it the current state of the
+# package in the Debian archive
+
+# This script is based on the value of git_update set by the myrepos
+# dgit plugin. That library uses an unconditional `git pull` to match
+# global myrepos conventions. The main reason for having that script
+# is to override that unconditional `git pull`
set -e