(*args)
| 56 | include CommandRunnable |
| 57 | |
| 58 | def git(*args) |
| 59 | if args[0].is_a?(Hash) |
| 60 | env = args.shift |
| 61 | else |
| 62 | env = {} |
| 63 | end |
| 64 | sh(env, "git", *args) |
| 65 | end |
| 66 | |
| 67 | def git_current_commit |
| 68 | git("rev-parse", "HEAD").chomp |
nothing calls this directly
no outgoing calls
no test coverage detected