| author | Junio C Hamano <junkio@cox.net> | |
| Wed, 4 May 2005 08:28:45 +0000 (01:28 -0700) | ||
| committer | Junio C Hamano <junkio@cox.net> | |
| Wed, 4 May 2005 08:28:45 +0000 (01:28 -0700) | ||
| commit | fd0ffd3ad12d6aa49b8ac2cce7728976d678cc63 | |
| tree | e9d352181052a3e8a4e4ff25611a14f9aa3a533d | tree | snapshot |
| parent | b2d62f161ebfb628cbe32900213ac18f9aa5bcb4 | commit | diff |
Short-cut error return path in git-local-pull.
When git-local-pull with -l option gets ENOENT attempting to create
a hard link, there is no point falling back to other copy methods.
With this patch, git-local-pull detects such a case and gives up
copying the file early.
Signed-off-by: Junio C Hamano <junkio@cox.net>
When git-local-pull with -l option gets ENOENT attempting to create
a hard link, there is no point falling back to other copy methods.
With this patch, git-local-pull detects such a case and gives up
copying the file early.
Signed-off-by: Junio C Hamano <junkio@cox.net>
| local-pull.c | diff | blob | history |