* git p4 submit always tries to re-apply every patch
@ 2010-12-02 2:30 thussvm
2010-12-02 9:36 ` Tor Arvid Lund
0 siblings, 1 reply; 2+ messages in thread
From: thussvm @ 2010-12-02 2:30 UTC (permalink / raw)
To: git
Whenever I run a git p4 submit after a git pull from the origin it tries to
re-apply every commit, even ones that were already submitted previously
(which results in self generated conflicts). What's interesting is that this
works:
git p4 submit <--- submit some changes
git p4 submit <--- no changes to submit, so it recognizes that it's up to
date
but as soon as I throw in a git pull origin master (even if there is nothing
new on the origin) it loses track and on the next submit it tries to
re-apply EVERYTHING. For example:
git p4 submit <--- no changes to submit
git pull origin master <--- no activity on the git server side so no changes
applied
git p4 submit <--- tries to re-apply all changes that were already submitted
earlier
Is git pull origin master somehow wiping out git p4's notion of which
changes have been applied and which haven't?
--
View this message in context: http://git.661346.n2.nabble.com/git-p4-submit-always-tries-to-re-apply-every-patch-tp5794578p5794578.html
Sent from the git mailing list archive at Nabble.com.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: git p4 submit always tries to re-apply every patch
2010-12-02 2:30 git p4 submit always tries to re-apply every patch thussvm
@ 2010-12-02 9:36 ` Tor Arvid Lund
0 siblings, 0 replies; 2+ messages in thread
From: Tor Arvid Lund @ 2010-12-02 9:36 UTC (permalink / raw)
To: thussvm; +Cc: git@vger.kernel.org
On Thursday, December 2, 2010, thussvm <thuss@volunteermatch.org> wrote:
>
> Whenever I run a git p4 submit after a git pull from the origin it tries to
> re-apply every commit, even ones that were already submitted previously
> (which results in self generated conflicts).
Try "git p4 sync" before submitting.
-- Tor Arvid
--
-- Tor Arvid
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-12-02 9:36 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-02 2:30 git p4 submit always tries to re-apply every patch thussvm
2010-12-02 9:36 ` Tor Arvid Lund
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).