git-clone-scripton commit csum-file: fix missing buf pointer update (2700628)
   1#!/bin/sh
   2repo="$1"
   3dir="$2"
   4mkdir $dir || exit 1
   5cd $dir
   6git-init-db
   7git fetch "$repo" && ( git-rev-parse FETCH_HEAD > .git/HEAD )