summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2017-04-14 17:54:14 +0200
committerGuido Günther <agx@sigxcpu.org>2017-04-14 17:54:36 +0200
commit9fa917a19b6a844e68a3f2d50cb2b82bbc2f2ac7 (patch)
tree8969e0f10435dfa9bd995884824dcb82dd3f3a90
parent9664cff6eadf376e1b4f418a080bdcc5ff12a563 (diff)
pull: give more detail about what we updated
-rwxr-xr-xgbp/scripts/pull.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/gbp/scripts/pull.py b/gbp/scripts/pull.py
index ec8285fa..79f73976 100755
--- a/gbp/scripts/pull.py
+++ b/gbp/scripts/pull.py
@@ -65,7 +65,9 @@ def fast_forward_branch(rem_repo, branch, repo, options):
gbp.log.warn("Skipping non-fast forward of '%s' - use --force" % branch)
if update:
- gbp.log.info("Updating '%s'" % branch)
+ gbp.log.info("Updating '%s': %s..%s" % (branch,
+ repo.rev_parse(branch, short=12),
+ repo.rev_parse(remote, short=12)))
if repo.branch == branch:
repo.merge(remote)
else: