forked fromgitpython-developers/GitPython
- Notifications
You must be signed in to change notification settings - Fork0
Commitcfc70fe
committed
fix(index): handle adding symlinks to dirs
When expanding directories, check if it is a symlink and don't expandthem at all.Previously, we followed symlinks and expanded their contents, whichcould lead to weird index files.Fixesgitpython-developers#3021 parent8724dfa commitcfc70fe
2 files changed
+27
-12
lines changedLines changed: 11 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
367 | 367 |
| |
368 | 368 |
| |
369 | 369 |
| |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
370 | 381 |
| |
371 | 382 |
| |
372 | 383 |
| |
|
Lines changed: 16 additions & 12 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
542 | 542 |
| |
543 | 543 |
| |
544 | 544 |
| |
545 |
| - | |
546 |
| - | |
547 |
| - | |
548 |
| - | |
549 |
| - | |
550 |
| - | |
551 |
| - | |
552 |
| - | |
553 |
| - | |
554 |
| - | |
555 |
| - | |
556 |
| - | |
| 545 | + | |
| 546 | + | |
| 547 | + | |
| 548 | + | |
| 549 | + | |
| 550 | + | |
| 551 | + | |
| 552 | + | |
| 553 | + | |
| 554 | + | |
| 555 | + | |
| 556 | + | |
| 557 | + | |
| 558 | + | |
| 559 | + | |
| 560 | + | |
557 | 561 |
| |
558 | 562 |
| |
559 | 563 |
| |
|
0 commit comments
Comments
(0)