Skip to content

Commit

Permalink
cosmetic
Browse files Browse the repository at this point in the history
  • Loading branch information
sr committed Jul 20, 2008
1 parent 0d40fd5 commit c0f9cb2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/integrity/scm/git.rb
Expand Up @@ -43,7 +43,8 @@ def pull
end

def commit_info(treeish)
chdir { YAML.load(`git show -s --pretty=format:"---%n:identifier: %H%n:author: %an <%ae>%n:message: %s%n" #{treeish}`) }
format = "---%n:identifier: %H%n:author: %an <%ae>%n:message: %s%n"
chdir { YAML.load(`git show -s --pretty=format:"#{format}" #{treeish}`) }
end

def cloned?
Expand Down

0 comments on commit c0f9cb2

Please sign in to comment.