We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1b09562 + 02b5c1a commit ed87d37Copy full SHA for ed87d37
git-p4.py
@@ -4251,7 +4251,8 @@ def run(self, args):
4251
if self.tempBranches != []:
4252
for branch in self.tempBranches:
4253
read_pipe(["git", "update-ref", "-d", branch])
4254
- os.rmdir(os.path.join(os.environ.get("GIT_DIR", ".git"), self.tempBranchLocation))
+ if len(read_pipe(["git", "for-each-ref", self.tempBranchLocation])) > 0:
4255
+ die("There are unexpected temporary branches")
4256
4257
# Create a symbolic ref p4/HEAD pointing to p4/<branch> to allow
4258
# a convenient shortcut refname "p4".
0 commit comments