Skip to content
This repository has been archived by the owner on Dec 20, 2018. It is now read-only.

Commit

Permalink
Bugfix: Binary files got submitted as xtext instead of xbinary
Browse files Browse the repository at this point in the history
  • Loading branch information
ermshiperete committed Apr 23, 2012
1 parent 43ebc25 commit 59cd507
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions git-p4
Expand Up @@ -125,8 +125,7 @@ class P4Helper:
# the execute bit setting in the passed in mode.

p4Type = "+x"
if p4Type == '+x':
p4Type = 'text+x'

if not isModeExec(mode):
p4Type = self.getP4OpenedType(file)
p4Type = re.sub('^([cku]?)x(.*)', '\\1\\2', p4Type)
Expand Down

0 comments on commit 59cd507

Please sign in to comment.