Re: unable to submit patch set

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 06/03/2013 10:10 PM, Jeff Darcy wrote:
On 06/03/2013 09:00 AM, Balamurugan Arumugam wrote:
My patch submission got rejected.  Below is the output

[bala@barumuga glusterfs.git.gerrit]$ git push origin
HEAD:refs/for/master/bug-928648 Counting objects: 31, done. Delta
compression using up to 4 threads. Compressing objects: 100% (22/22),
done.
Writing objects: 100% (22/22), 6.80 KiB, done. Total 22 (delta 13),
reused 0
(delta 0) remote: Resolving deltas: 100% (13/13) remote: Processing
changes:
refs: 1, done To ssh://bala@xxxxxxxxxxxxxxxxxx/glusterfs.git ! [remote
rejected] HEAD -> refs/for/master/bug-928648 (no changes made) error:
failed
to push some refs to 'ssh://bala@xxxxxxxxxxxxxxxxxx/glusterfs.git'
[bala@barumuga glusterfs.git.gerrit]$


I see the error message is correct that the first patch in the set has no
change whereas rest of the patches are changed.  Could someone help me
how
to submit the patch set?

I saw some of this when I was fixing the build/test failures from
Friday's patch storm.  I worked around it by making some spurious
commit-message changes, but I don't recommend that as a general
approach.  If I recall, another solution is:

(1) Save all of the patches that *have* changed.

(2) Switch to a new branch.

(3) Reset to the last commit that has *not* changed.  Yes, "git reset"
works even for a commit that's not already in your current branch.

(4) Re-apply your changed patches.

(5) Run rfc.sh with DRY_RUN set to see the "git push" command you'll want.

(6) Push manually, bypassing some of the rfc.sh stuff that will put you
back into the broken state.


Thanks Jeff. I will try this approach next time as master was changed today and I am able to run rfc.sh successfully.

Regards,
Bala


_______________________________________________
Gluster-devel mailing list
Gluster-devel@xxxxxxxxxx
https://lists.nongnu.org/mailman/listinfo/gluster-devel




[Index of Archives]     [Gluster Users]     [Ceph Users]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux