Skip to content

Commit

Permalink
escape format string
Browse files Browse the repository at this point in the history
  • Loading branch information
vxsx committed Jan 29, 2015
1 parent 7f7985f commit 9ce7c50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dploi_fabric/git.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def incoming(remote='origin', branch=None):
"""
if not branch:
branch = env.branch
run(("cd %(path)s; git fetch " + remote + " && git log --oneline --pretty=format:'%C(yellow)%h%C(reset) - %s %C(bold blue)<%an>%C(reset)' .." + remote + '/' + branch) % env)
run(("cd %(path)s; git fetch " + remote + " && git log --oneline --pretty=format:'%%C(yellow)%%h%%C(reset) - %%s %%C(bold blue)<%%an>%%C(reset)' .." + remote + '/' + branch) % env)


def local_branch_is_dirty(ignore_untracked_files=True):
Expand Down

0 comments on commit 9ce7c50

Please sign in to comment.