Skip to content

Commit

Permalink
Another (potentially life-saving) idea for submit --direct
Browse files Browse the repository at this point in the history
Signed-off-by: Simon Hausmann <simon@lst.de>
  • Loading branch information
Simon Hausmann committed May 20, 2007
1 parent 24f7b53 commit b1561ee
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions contrib/fast-import/git-p4
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@
# TODO: * implement git-p4 rollback <perforce change number> for debugging
# to roll back all p4 remote branches to a commit older or equal to
# the specified change.
# * for git-p4 submit --direct it would be nice to still create a
# git commit without updating HEAD before submitting to perforce.
# With the commit sha1 printed (or recoded in a .git/foo file?)
# it's possible to recover if anything goes wrong instead of potentially
# loosing a change entirely because it was never comitted to git and
# the p4 submit failed (or resulted in lots of conflicts, etc.)
#

import optparse, sys, os, marshal, popen2, subprocess, shelve
Expand Down

0 comments on commit b1561ee

Please sign in to comment.