S_IFLNK != 0140000

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
maint
Junio C Hamano 2007-02-06 12:46:11 -08:00 committed by Shawn O. Pearce
parent 7073e69e38
commit 9981b6d915
2 changed files with 2 additions and 2 deletions

View File

@ -416,7 +416,7 @@ in octal. Git only supports the following modes:
of files in most projects use this mode. If in doubt, this is of files in most projects use this mode. If in doubt, this is
what you want. what you want.
* `100755` or `755`: A normal, but executable, file. * `100755` or `755`: A normal, but executable, file.
* `140000`: A symlink, the content of the file will be the link target. * `120000`: A symlink, the content of the file will be the link target.


In both formats `<path>` is the complete path of the file to be added In both formats `<path>` is the complete path of the file to be added
(if not already existing) or modified (if already existing). (if not already existing) or modified (if already existing).

View File

@ -81,7 +81,7 @@ Format of STDIN stream:
path_str ::= path | '"' quoted(path) '"' ; path_str ::= path | '"' quoted(path) '"' ;
mode ::= '100644' | '644' mode ::= '100644' | '644'
| '100755' | '755' | '100755' | '755'
| '140000' | '120000'
; ;


declen ::= # unsigned 32 bit value, ascii base10 notation; declen ::= # unsigned 32 bit value, ascii base10 notation;