Commit fa7cf4e
committed
read-cache: let read-cache respect submodule ignore=all and bypass with --force
The submomodule path reference update is skipped if:
- the ignore=all configuration is set on the submodule
unless:
- the --force option is also given and the submodule path is explicit given.
A message is printed (like ignored files) guilding the user to use the --force
flag if the user has explicitely want to update the submodule reference.
Signed-off-by: Claus Schneider(Eficode) <claus.schneider@eficode.com>1 parent ddddd25 commit fa7cf4e
1 file changed
Lines changed: 44 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| 51 | + | |
| 52 | + | |
51 | 53 | | |
52 | 54 | | |
53 | 55 | | |
| |||
3927 | 3929 | | |
3928 | 3930 | | |
3929 | 3931 | | |
3930 | | - | |
| 3932 | + | |
| 3933 | + | |
| 3934 | + | |
| 3935 | + | |
| 3936 | + | |
| 3937 | + | |
| 3938 | + | |
| 3939 | + | |
| 3940 | + | |
| 3941 | + | |
| 3942 | + | |
| 3943 | + | |
| 3944 | + | |
| 3945 | + | |
| 3946 | + | |
| 3947 | + | |
| 3948 | + | |
| 3949 | + | |
| 3950 | + | |
| 3951 | + | |
| 3952 | + | |
| 3953 | + | |
| 3954 | + | |
| 3955 | + | |
| 3956 | + | |
| 3957 | + | |
| 3958 | + | |
| 3959 | + | |
| 3960 | + | |
| 3961 | + | |
| 3962 | + | |
| 3963 | + | |
| 3964 | + | |
| 3965 | + | |
| 3966 | + | |
| 3967 | + | |
| 3968 | + | |
| 3969 | + | |
| 3970 | + | |
| 3971 | + | |
| 3972 | + | |
3931 | 3973 | | |
3932 | 3974 | | |
3933 | 3975 | | |
3934 | 3976 | | |
3935 | 3977 | | |
3936 | 3978 | | |
| 3979 | + | |
3937 | 3980 | | |
3938 | 3981 | | |
3939 | 3982 | | |
| |||
0 commit comments