From: Johannes Schindelin Date: Tue, 25 Oct 2005 23:40:31 +0000 (+0200) Subject: create_symref: if symlink fails, fall back to writing a "symbolic ref" X-Git-Tag: v0.99.9~39 X-Git-Url: https://git.octo.it/?a=commitdiff_plain;h=303958dc42d451aead0e1b9cf7b9836831a05f4b;hp=303958dc42d451aead0e1b9cf7b9836831a05f4b;p=git.git create_symref: if symlink fails, fall back to writing a "symbolic ref" There are filesystems out there which do not understand symlinks, even if the OS is perfectly capable of writing them. So, do not fail right away, but try to write a symbolic ref first. If that fails, you can die(). Signed-off-by: Johannes Schindelin Signed-off-by: Junio C Hamano ---