Commit 6c8fb9c
committed
fix(rsync,ssh,sshfs): do not generate regular files *'\' as dirs
In sed, /[^\/]/ does not mean "a character that is not a slash". It
means "a character that is not a backslash or a slash". In the
bracket expressions [...], slashes do not need to be escaped by a
backslash, and also, a backslash is treated literally. We should
instead use /[^/]/.1 parent 6bd5e26 commit 6c8fb9c
File tree
4 files changed
+8
-4
lines changed- completions
- test
- fixtures/sshfs
- local_path-dir
- t
4 files changed
+8
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
512 | 512 | | |
513 | 513 | | |
514 | 514 | | |
515 | | - | |
| 515 | + | |
516 | 516 | | |
517 | 517 | | |
518 | 518 | | |
519 | 519 | | |
520 | 520 | | |
521 | 521 | | |
522 | 522 | | |
523 | | - | |
| 523 | + | |
524 | 524 | | |
525 | 525 | | |
526 | 526 | | |
| |||
550 | 550 | | |
551 | 551 | | |
552 | 552 | | |
553 | | - | |
| 553 | + | |
554 | 554 | | |
555 | 555 | | |
556 | 556 | | |
557 | 557 | | |
558 | 558 | | |
559 | | - | |
| 559 | + | |
560 | 560 | | |
561 | 561 | | |
562 | 562 | | |
| |||
Whitespace-only changes.
Whitespace-only changes.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
0 commit comments