Home
last modified time | relevance | path

Searched refs:git_cmd (Results 1 – 3 of 3) sorted by relevance

/openbmc/openbmc/poky/bitbake/bin/
H A Dgit-make-shallow27 git_cmd = ['git', '-c', 'safe.bareRepository=all'] variable
33 git_dir = check_output(git_cmd + ['rev-parse', '--git-dir']).rstrip()
37 check_output(git_cmd + ['fetch', '--unshallow'])
46 revs = check_output(git_cmd + ['rev-list'] + args.revisions).splitlines()
50 ref_revs = check_output(git_cmd + ['rev-list'] + args.refs).splitlines()
53 if check_output(git_cmd + ['rev-parse', '{}^@'.format(rev)]):
60 subprocess.check_call(git_cmd + ['fsck', '--unreachable'])
131 parents = check_output(git_cmd + ['rev-parse', '%s^@' % rev]).splitlines()
144 merge_base = check_output(git_cmd + ['merge-base', parent, ref]).rstrip()
165 subprocess.check_call(git_cmd + ['repack', '-ad'])
[all …]
/openbmc/openbmc/poky/meta/lib/oeqa/utils/
H A Dgit.py37 git_cmd = 'git ' if isinstance(git_args, str) else ['git']
38 git_cmd += git_args
39 ret = runCmd(git_cmd, ignore_status=True, cwd=cwd, **kwargs)
41 cmd_str = git_cmd if isinstance(git_cmd, str) \
42 else ' '.join(git_cmd)
H A Dgitarchive.py78 git_cmd = ['commit-tree', tree, '-m', message]
80 git_cmd += ['-p', parent]
81 commit = repo.run_cmd(git_cmd, env_update)
90 git_cmd = ['update-ref', 'refs/heads/' + branch, commit]
91 repo.run_cmd(git_cmd)