projects
/
mdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ea6e66e
)
Updating tracker details uses short hashes
author
Frederic Massart
<fred@moodle.com>
Fri, 23 Aug 2013 03:39:10 +0000
(11:39 +0800)
committer
Frederic Massart
<fred@moodle.com>
Fri, 23 Aug 2013 03:39:10 +0000
(11:39 +0800)
lib/moodle.py
patch
|
blob
|
history
diff --git
a/lib/moodle.py
b/lib/moodle.py
index
85e5249
..
c74a916
100644
(file)
--- a/
lib/moodle.py
+++ b/
lib/moodle.py
@@
-590,7
+590,7
@@
class Moodle(object):
# Get the hash of the last upstream commit
ref = '%s/%s' % (upstreamremote, stablebranch)
- headcommit = self.git().hashes(ref=ref, limit=1)[0]
+ headcommit = self.git().hashes(ref=ref, limit=1
, format='%h'
)[0]
J = Jira()
diffurl = diffurltemplate.replace('%branch%', branch).replace('%stablebranch%', stablebranch).replace('%headcommit%', headcommit)