<div dir="ltr"><div dir="ltr">On Fri, Nov 12, 2021 at 2:08 AM Rob Landley <<a href="mailto:rob@landley.net">rob@landley.net</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Also, Android.bp says to run ./regenerate.sh which isn't there when I "git clone<br>
<a href="https://android.googlesource.com/platform/external/toybox" rel="noreferrer" target="_blank">https://android.googlesource.com/platform/external/toybox</a>" but _is_ there in the<br>
aosp full repo checkout I haven't updated since july, and I thought "maybe it<br>
got renamed to post_update.sh?" but when I do a "git log post_update.sh" it only<br>
shows 2 commits and when I do a "git log --follow post_update.sh" it shows<br>
NOTHING...? (I did a fresh checkout to make sure my android toybox dir hadn't<br>
gone weird and yes: git is being strange, and I am REALLY confused now.)<br></blockquote><div><br></div><div>It looks like regenerate.sh was renamed to post_update.sh in this Gerrit change:</div><div><br></div><div><a href="https://android-review.googlesource.com/c/platform/external/toybox/+/1835530/">https://android-review.googlesource.com/c/platform/external/toybox/+/1835530/</a><br></div><div><br></div><div>This changeĀ is commit 7cc7771c12. It's a merge commit, which seems to be affecting git somehow. I found the CL by hand using gitk. "git log -- regenerate.sh" shows nothing, but "git log -- post_update.sh" finds this merge commit.</div><div><br></div><div>"git show 7cc7771c12" reports this for the rename:</div><div><br></div><div>diff --cc post_update.sh<br>index 689a482a,00000000..689a482a<br>mode 100755,000000..100755<br>--- a/post_update.sh<br>+++ b/post_update.sh<br></div><div><br></div><div>"git log 7cc7771c12 -- regenerate.sh" shows nothing.</div><div><br></div><div>"git log 7cc7771c12 --follow -- regenerate.sh" shows 3 old commits.</div><div><br></div><div>"git log 7cc7771c12~1 -- regenerate.sh" shows the same 3 old commits.<br></div><div><br></div><div>-Ryan</div><div><br></div></div></div>