Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
contrib/emacs: Use non-interactive function to byte-compile files
[gitweb.git]
/
builtin-apply.c
diff --git
a/builtin-apply.c
b/builtin-apply.c
index 38f647510a13f51e63a35aaf442aeb154e34915c..53935109a3e320eda6177b74be76c45ee2a6e4d2 100644
(file)
--- a/
builtin-apply.c
+++ b/
builtin-apply.c
@@
-2359,7
+2359,7
@@
static int try_create_file(const char *path, unsigned int mode, const char *buf,
char *nbuf;
unsigned long nsize;
- if (S_ISLNK(mode))
+ if (
has_symlinks &&
S_ISLNK(mode))
/* Although buf:size is counted string, it also is NUL
* terminated.
*/