Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSascha Silbe <sascha-pgp@silbe.org>2011-10-18 12:34:20 (GMT)
committer Aleksey Lim <alsroot@sugarlabs.org>2013-02-03 12:59:25 (GMT)
commitfdde54b0688a73d43950345fb429baa0e73bcef9 (patch)
tree2d788292a159f597ad3b30516827133d2a23fe26
parentd701590744814c3e1bf5af7a217b886612583d52 (diff)
Fix incorrect git invocation introduced by previous commit
Positional CLI arguments must be preceded by a hash of (CLI) options.
-rw-r--r--lib/patchwork.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/patchwork.rb b/lib/patchwork.rb
index 383698f..835d747 100644
--- a/lib/patchwork.rb
+++ b/lib/patchwork.rb
@@ -40,7 +40,7 @@ module Patchwork
events.each do |event|
commit_id = event.commit_details[:id]
- patch_hash = hash_patch(git.show(commit_id))
+ patch_hash = hash_patch(git.show({}, commit_id))
begin
patch_id = find_patch patchwork, project_id, patch_hash, find_state_ids