"git clone" on FAT

From ALT Linux Wiki

The trouble with "git clone" on FAT in ALT (on branch 5.1, also on Sisyphus) is like this:

~ $ mount /mnt/usbmem1
~ $ mount | fgrep /mnt/usbmem1
/dev/sdb1 on /mnt/usbmem1 type vfat (rw,noexec,nosuid,nodev,noatime,flush,utf8,shortname=winnt,fmask=117,quiet,user=imz)
~ $ mkdir /mnt/usbmem1/test
~ $ cd /mnt/usbmem1/test
/mnt/usbmem1/test $ git clone ~/.emacs.d/site-start.d/
Cloning into site-start.d...
fatal: cannot symlink '/usr/share/git-core/hooks/applypatch-msg' '/mnt/usbmem1/test/site-start.d/.git/hooks/applypatch-msg.sample': Operation not permitted
/mnt/usbmem1/test $ rpm -q git-core
/mnt/usbmem1/test $ 

It's due to:

* Fri Sep 03 2010 Dmitry V. Levin <ldv@altlinux.org>
- Updated to maint v1.7.2.3.
- Relocated hooks to /usr/share/git-core/hooks/,
  converted template hooks to symlinks.

The workaround:

/mnt/usbmem1/test $ GIT_TEMPLATE_DIR= git clone ~/.emacs.d/site-start.d/
Cloning into site-start.d...
/mnt/usbmem1/test $ 

(GIT_TEMPLATE_DIR is documented in "man git-init".)

Well, I don't perceive this as a bug, but of course, it's an inconvenience--to remember about the template dir parameter...