Commit 3d1d81e
fast-import: Cleanup mode setting.
"S_IFREG | mode" makes only sense for 0644 and 0755.
Even though doing (S_IFREG | mode) may not hurt when mode is any other
supported value, that is only true because S_IFREG mode bit happens to
be already on for S_IFLNK or S_IFGITLINK.
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
Acked-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>1 parent 8faea4f commit 3d1d81e
1 file changed
+4
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1868 | 1868 | | |
1869 | 1869 | | |
1870 | 1870 | | |
| 1871 | + | |
| 1872 | + | |
| 1873 | + | |
1871 | 1874 | | |
1872 | 1875 | | |
1873 | 1876 | | |
1874 | 1877 | | |
1875 | | - | |
1876 | | - | |
1877 | 1878 | | |
1878 | 1879 | | |
1879 | 1880 | | |
| |||
1940 | 1941 | | |
1941 | 1942 | | |
1942 | 1943 | | |
1943 | | - | |
| 1944 | + | |
1944 | 1945 | | |
1945 | 1946 | | |
1946 | 1947 | | |
| |||
0 commit comments