diff options
author | Sascha 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) |
commit | fdde54b0688a73d43950345fb429baa0e73bcef9 (patch) | |
tree | 2d788292a159f597ad3b30516827133d2a23fe26 | |
parent | d701590744814c3e1bf5af7a217b886612583d52 (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.rb | 2 |
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 |