Skip to content

Commit

Permalink
Sending -s to git show when getting commit info.
Browse files Browse the repository at this point in the history
  • Loading branch information
brasse committed Nov 12, 2010
1 parent 8c5f9ac commit f8594bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion post_receive_email.py
Expand Up @@ -68,7 +68,7 @@ def git_rev_parse(hash, short=False):
return p.stdout.read()[:-1]

def get_commit_info(hash):
p = subprocess.Popen(['git', 'show', '--pretty=format:%s%n%h', hash],
p = subprocess.Popen(['git', 'show', '--pretty=format:%s%n%h', '-s', hash],
stdout=subprocess.PIPE)
s = StringIO(p.stdout.read())
def undefined():
Expand Down

0 comments on commit f8594bf

Please sign in to comment.