diff options
author | Guido Guenther <agx@sigxcpu.org> | 2008-09-01 15:11:24 +0200 |
---|---|---|
committer | Guido Guenther <agx@sigxcpu.org> | 2008-09-01 15:11:51 +0200 |
commit | 162356033c6e93d7db5627acc2dd5e2ae68d23ce (patch) | |
tree | 777337060b6fcd8c3977f47bb80dbfa857a68b34 | |
parent | cbc2b75f098c8620e950b8ec36b37f0e36751b87 (diff) |
"git-commond" vs. "git command" cleanup
Closes: #497335
-rwxr-xr-x | git-buildpackage | 2 | ||||
-rwxr-xr-x | git-dch | 2 | ||||
-rwxr-xr-x | git-import-dsc | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/git-buildpackage b/git-buildpackage index fc3feba5..422ae59d 100755 --- a/git-buildpackage +++ b/git-buildpackage @@ -35,7 +35,7 @@ index_name = "INDEX" def git_archive_pipe(prefix, pipe, output, treeish): """run the git_archive pipe""" - pipe.prepend('git-archive --format=tar --prefix=%s/ %s' % (prefix, treeish), '.-') + pipe.prepend('git archive --format=tar --prefix=%s/ %s' % (prefix, treeish), '.-') try: ret = pipe.copy('', output) if ret: @@ -66,7 +66,7 @@ def fixup_trailer(): def head_commit(): """get the full sha1 of the last commit on HEAD""" - commit = subprocess.Popen([ 'git-log', 'HEAD^..' ], stdout=subprocess.PIPE).stdout + commit = subprocess.Popen([ 'git', 'log', 'HEAD^..' ], stdout=subprocess.PIPE).stdout sha = commit.readline().split()[-1] return sha diff --git a/git-import-dsc b/git-import-dsc index 018dbdaf..e7d97161 100755 --- a/git-import-dsc +++ b/git-import-dsc @@ -55,10 +55,10 @@ def import_initial(src, dirs, options): def git_apply_patch(diff): - "Import patch via git-apply" + "Import patch via git apply" pipe = pipes.Template() pipe.prepend('gunzip -c %s' % diff, '.-') - pipe.append('git-apply --index --apply --whitespace=nowarn -', '-.') + pipe.append('git apply --index --apply --whitespace=nowarn -', '-.') try: ret = pipe.copy('', '') if ret: |