lib/git_cli/diff.rb in git_cli-0.11.2 vs lib/git_cli/diff.rb in git_cli-0.11.3
- old
+ new
@@ -72,15 +72,15 @@
cmdln = cmd.join(" ")
log_debug "#{opts[:log_tag]} : #{cmdln} "
res = os_exec(cmdln) do |st, res|
-
- if st.success?
- [true, res.strip!]
- else
- [false, res]
- end
+ [st.success?, res.strip!]
+ #if st.success?
+ # [true, res.strip!]
+ #else
+ # [false, res]
+ #end
end
end
end