X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=git-p4.py;h=c71a6832e2fa0a632dc93155d0fa2b727c659f5e;hb=f9089e8491fdf50d941f071552872e7cca0e2e04;hp=5b79920f46a972437ff05966d042a84d44f050d9;hpb=c425d361f5bf46d99cd96d7eac3488ebb2e92b60;p=thirdparty%2Fgit.git diff --git a/git-p4.py b/git-p4.py index 5b79920f46..c71a6832e2 100755 --- a/git-p4.py +++ b/git-p4.py @@ -737,7 +737,7 @@ def extractLogMessageFromGitCommit(commit): ## fixme: title is first line of commit, not 1st paragraph. foundTitle = False - for log in read_pipe_lines("git cat-file commit %s" % commit): + for log in read_pipe_lines(["git", "cat-file", "commit", commit]): if not foundTitle: if len(log) == 1: foundTitle = True @@ -1309,7 +1309,7 @@ class GitLFS(LargeFileSystem): class Command: delete_actions = ( "delete", "move/delete", "purge" ) - add_actions = ( "add", "move/add" ) + add_actions = ( "add", "branch", "move/add" ) def __init__(self): self.usage = "usage: %prog [options]"