diff options
author | Jannis Pohlmann <jannis.pohlmann@codethink.co.uk> | 2012-12-13 17:43:08 +0000 |
---|---|---|
committer | Jannis Pohlmann <jannis.pohlmann@codethink.co.uk> | 2012-12-13 17:43:08 +0000 |
commit | 35f9111d9497160c44a5e4fa2b8a1964e68d0fd5 (patch) | |
tree | f908f10baf4ef22a2fe1b85411399ebc07848dbe /morphlib/git.py | |
parent | 2723ce3a8fa56ddec0c003e23bc037fade2ceb23 (diff) | |
parent | bec9ecbbb7ab988488c77ea1fe995164ec0c073f (diff) | |
download | morph-35f9111d9497160c44a5e4fa2b8a1964e68d0fd5.tar.gz |
Merge remote-tracking branch 'remotes/origin/samthursfield/ambiguous-refs' into baserock/merge-queue
Diffstat (limited to 'morphlib/git.py')
-rw-r--r-- | morphlib/git.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/morphlib/git.py b/morphlib/git.py index a37b6675..9ac9e292 100644 --- a/morphlib/git.py +++ b/morphlib/git.py @@ -269,4 +269,4 @@ def is_valid_sha1(ref): def rev_parse(runcmd, gitdir, ref): '''Find the sha1 for the given ref''' - return runcmd(['git', 'rev-parse', ref], cwd=gitdir)[0:40] + return runcmd(['git', 'rev-parse', '--verify', ref], cwd=gitdir)[0:40] |