lib/heidi/git.rb in heidi-0.0.2 vs lib/heidi/git.rb in heidi-0.0.3

- old
+ new

@@ -16,10 +16,10 @@ @shell = SimpleShell.new(@path) end # get the latest commit hash def commit - res = @shell.git "log", "-n", "1", "--pretty=%H" + res = @shell.git "log", "-n", "1", "--pretty=format:%H" res.out end alias_method :HEAD, :commit alias_method :head, :commit