-if [ "$common" == "$merge_head" ]; then
- echo "Already up-to-date. Yeeah!"
- exit 0
-fi
-if [ "$common" == "$head" ]; then
- echo "Updating from $head to $merge_head."
- echo "Destroying all noncommitted data!"
- echo "Kill me within 3 seconds.."
- sleep 3
- read-tree $merge_tree && checkout-cache -f -a && update-cache --refresh
- echo $merge_head > .git/HEAD