Lines Matching refs:cmd
36 cmd = ['git', 'rev-parse', '--abbrev-ref', 'HEAD']
37 result = rh.utils.run(cmd, capture_output=True)
41 cmd = ['git', 'config', 'branch.%s.remote' % branch]
42 result = rh.utils.run(cmd, capture_output=True)
52 cmd = ['git', 'symbolic-ref', 'HEAD']
53 result = rh.utils.run(cmd, capture_output=True)
59 cmd = ['git', 'config', cfg_option % 'merge']
60 result = rh.utils.run(cmd, capture_output=True)
65 cmd = ['git', 'config', cfg_option % 'remote']
66 result = rh.utils.run(cmd, capture_output=True)
76 cmd = ['git', 'rev-parse', ref]
77 result = rh.utils.run(cmd, capture_output=True)
91 cmd = ['git', 'format-patch', '--stdout', '-1', commit]
92 return rh.utils.run(cmd, capture_output=True).stdout
105 cmd = ['git', 'show', '%s:%s' % (commit, path)]
106 return rh.utils.run(cmd, capture_output=True).stdout
147 cmd = ['git', 'diff', '--no-ext-diff', '-M', '--raw', target]
148 diff = rh.utils.run(cmd, cwd=path, capture_output=True).stdout
175 cmd = ['git', 'log', '%s..' % get_upstream_branch(), '--format=%H']
177 cmd.append('--first-parent')
178 return rh.utils.run(cmd, capture_output=True).stdout.split()
183 cmd = ['git', 'log', '--format=%B', commit + '^!']
184 return rh.utils.run(cmd, capture_output=True).stdout
204 cmd = ['git', 'rev-parse', '--resolve-git-dir', os.path.join(path, '.git')]
205 result = rh.utils.run(cmd, capture_output=True, check=False)