From: Pavel R. <pr...@gn...> - 2006-01-03 22:15:22
|
git-grab-overlay referenced at http://ieee80211.sourceforge.net/git.php uses git-checkout-cache, which was renamed to git-checkout-index before the git 1.0 release. This patch makes git-grab-overlay compatible with git 1.0.x. Signed-off-by: Pavel Roskin <pr...@gn...> --- git-grab-overlay +++ git-grab-overlay @@ -95,7 +95,7 @@ echo "${2} now contains the full tree from ${1}." echo -e "\nTo sync the files to the cache state, run:" echo -e "\t% cd ${2}" -echo -e "\t% git-read-tree -m HEAD && git-checkout-cache -q -f -u -a" +echo -e "\t% git-read-tree -m HEAD && git-checkout-index -q -f -u -a" while true; do read -p "Do you want to do this now? [Y/n] :" reply case $reply in @@ -105,7 +105,7 @@ dir=$PWD cd ${2} git-read-tree -m HEAD - git-checkout-cache -q -f -u -a + git-checkout-index -q -f -u -a cd $PWD exit 0 esac -- Regards, Pavel Roskin |