@matheusbsbs / matheus-bagliano / commits / 9981b6d915
Fork 0

S_IFLNK != 0140000

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>

Junio C Hamano committed Feb 6, 2007 at 12:46 UTC 9981b6d915a49d325f790f2aa825aa56ae4ac85c
2 files changed +2 -2
Documentation/git-fast-import.txt
+1 -1
@@ -416,7 +416,7 @@ in octal. Git only supports the following modes:
416 of files in most projects use this mode. If in doubt, this is
417 what you want.
418 * `100755` or `755`: A normal, but executable, file.
419 -* `140000`: A symlink, the content of the file will be the link target.
419 +* `120000`: A symlink, the content of the file will be the link target.
420
421 In both formats `<path>` is the complete path of the file to be added
422 (if not already existing) or modified (if already existing).
fast-import.c
+1 -1
@@ -81,7 +81,7 @@ Format of STDIN stream:
81 path_str ::= path | '"' quoted(path) '"' ;
82 mode ::= '100644' | '644'
83 | '100755' | '755'
84 - | '140000'
84 + | '120000'
85 ;
86
87 declen ::= # unsigned 32 bit value, ascii base10 notation;