Shao,<br><br>It is very easy to reproduce this:<br><br>Here is the outputs:<br><br>$git clone git://<a href="http://git.ipxe.org/ipxe.git">git.ipxe.org/ipxe.git</a><br>Cloning into 'ipxe'...<br>remote: Counting objects: 37849, done.<br>
remote: Compressing objects: 100% (13276/13276), done.<br>remote: Total 37849 (delta 28137), reused 31197 (delta 23021)<br>Receiving objects: 100% (37849/37849), 9.27 MiB | 468 KiB/s, done.<br>Resolving deltas: 100% (28137/28137), done.<br>
<br>$ cd ipxe<br><br>$ git status<br># On branch master<br>nothing to commit (working directory clean)<br><br>$git revert -n 6324bd<br>error: could not revert 6324bd9... [undi] Allow underlying PXE stack to construct link-layer header<br>
hint: after resolving the conflicts, mark the corrected paths<br>hint: with 'git add <paths>' or 'git rm <paths>'<br><br>$ git status<br># On branch master<br># Changes to be committed:<br># (use "git reset HEAD <file>..." to unstage)<br>
#<br># modified: src/arch/i386/drivers/net/undinet.c<br># modified: src/net/ethernet.c<br>#<br># Unmerged paths:<br># (use "git reset HEAD <file>..." to unstage)<br># (use "git add/rm <file>..." as appropriate to mark resolution)<br>
#<br># both modified: src/include/ipxe/ethernet.h<br>#<br><br>I am not sure how to workaround this. I could revert that commit until a certain git commit number, then it would always fail if trying to revert 6324bd. <br>
<br>Thanks,<br><br><div class="gmail_quote">On Tue, Dec 4, 2012 at 12:53 AM, Shao Miller <span dir="ltr"><<a href="mailto:sha0.miller@gmail.com" target="_blank">sha0.miller@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Good day to you.<br>
<br>
This does not appear to be an error with iPXE. This appears to be an error<br>
with what you are doing with 'git'. You can look at 'git status' after your<br>
failing command to see more about what files are involved. - Shao<br>
<br>
________________________________________<br>
From: <a href="mailto:ipxe-devel-bounces@lists.ipxe.org">ipxe-devel-bounces@lists.ipxe.org</a><br>
[mailto:<a href="mailto:ipxe-devel-bounces@lists.ipxe.org">ipxe-devel-bounces@lists.ipxe.org</a>] On Behalf Of hai wu<br>
Sent: Monday, December 03, 2012 01:52<br>
To: <a href="mailto:ipxe-devel@lists.ipxe.org">ipxe-devel@lists.ipxe.org</a><br>
Subject: [ipxe-devel] Can't revert 6324bd commit<br>
<div class="HOEnZb"><div class="h5"><br>
Before "git revert -n 6324bd" worked fine, but with latest ipxe git<br>
checkout, this command fails with the following message:<br>
<br>
error: could not revert 6324bd9... [undi] Allow underlying PXE stack to<br>
construct link-layer header<br>
hint: after resolving the conflicts, mark the corrected paths<br>
hint: with 'git add <paths>' or 'git rm <paths>'<br>
<br>
Not sure if there could be some workaround to the above.<br>
<br>
</div></div></blockquote></div><br>