Git development
 help / color / mirror / Atom feed
* [git-p4] Cannot submit to perforce
@ 2008-07-08 23:30 Benjamin Sergeant
  0 siblings, 0 replies; only message in thread
From: Benjamin Sergeant @ 2008-07-08 23:30 UTC (permalink / raw)
  To: git

With today's git:

I'm trying to reproduce the git commands git-p4 execute.

$ git branch -r
  p4/HEAD
  p4/master

$ git diff-tree -r
"0a41bb5b8387517ca5c45c56544e978b2f82f021^".."0a41bb5b8387517ca5c45c56544e978b2f82f021"
:000000 100755 0000000000000000000000000000000000000000
67406438a99bb212502eb3f3581527f046a96964 A
r3d/Viewer/qtgui/tools/buildrss.py
...
...
...

$ git format-patch -k --stdout
"0a41bb5b8387517ca5c45c56544e978b2f82f021^".."0a41bb5b8387517ca5c45c56544e978b2f82f021"
| git apply --check -
<stdin>:225: trailing whitespace.
#
<stdin>:233: trailing whitespace.
#
<stdin>:273: trailing whitespace.

<stdin>:275: trailing whitespace.

<stdin>:295: trailing whitespace.

error: r3d/Viewer/qtgui/tools/buildrss.py: already exists in working directory
...
...
...

For me the "already exists in working directory" means we are not in
the right branch, and that we are trying to apply the same commit on
the master branch ?

If I issue git-p4 submit I have basically the same output, I say
"[s]kip this patch" and it ends with:
"""
Some files in your working directory are modified and different than
what is in your index. You can use git update-index <filename> to
bring the index up-to-date or stash away all your changes with git
stash.
"""
If I retry git-p4 submit with doing the stash, sometimes the perforce
submit goes fine, sometimes not... ???

Thanks for any help,
Benjamin.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-07-08 23:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-08 23:30 [git-p4] Cannot submit to perforce Benjamin Sergeant

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox