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:[email protected]                            
 mailto:[email protected]
 mailto:[email protected]
 Guam - Where America's Day Begins                        
 G4L Disk Imaging Project maintainer 
 http://sourceforge.net/projects/g4l/
+------------------------------------------------------------+


_______________________________________________
busybox mailing list
[email protected]
https://lists.busybox.net/mailman/listinfo/busybox

Reply via email to