AI recommended changing from using git port to https?
Michael D. Setzer II
mikes at guam.net
Sat Apr 11 05:53:44 UTC 2026
Have done testing, and haven't seen the issues with git clone or git
pull with networking issues.
cat gitpull2.ch
cd /home/msetzerii/Downloads/busybox
git remote set-url origin https://git.busybox.net/busybox
# Save the current state
PRE_PULL=$(git rev-parse HEAD)
# Pull (silencing the progress noise if you want)
git pull > /tmp/gitpull_out 2> /tmp/gitpull_err
EXIT_CODE=$?
# Check the new state
POST_PULL=$(git rev-parse HEAD)
if [ $EXIT_CODE -ne 0 ]; then
echo "Pull failed with code $EXIT_CODE. Check /tmp/gitpull_err"
elif [ "$PRE_PULL" == "$POST_PULL" ]; then
echo "Nothing changed (Already up to date)."
else
echo "Success: New changes were applied."
cp /home/msetzerii/g4l0.70alpha/busybox-1.38.0.git.config .config
make oldconfig
make -j8
cmp -l busybox /usr/bin/busybox
cp busybox /usr/bin/busybox
fi
Haven't have a pull find a change yet, so just seen.
# ./gitpull2.ch
Nothing changed (Already up to date).
+------------------------------------------------------------+
Michael D. Setzer II - Computer Science Instructor (Retired)
mailto:mikes at guam.net
mailto:msetzerii at gmail.com
mailto:msetzerii at gmx.com
Guam - Where America's Day Begins
G4L Disk Imaging Project maintainer
http://sourceforge.net/projects/g4l/
+------------------------------------------------------------+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20260411/e69c630b/attachment.htm>
More information about the busybox
mailing list