Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork939
Commit037d62a
fix(fetch): use the correct FETCH_HEAD from within a worktree
FETCH_HEAD is one of the symbolic references local to the currentworktree and as such should _not_ be looked up in the 'common_dir'. Butinstead of just hard coding the "right thing" (git_dir) lets defer thisto the SymbolicReference class which already contains this knowledge inits 'abspath' property.1 parentdd3cdfc commit037d62a
1 file changed
+2
-3
lines changedLines changed: 2 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
22 | 22 |
| |
23 | 23 |
| |
24 | 24 |
| |
25 |
| - | |
26 |
| - | |
27 | 25 |
| |
28 | 26 |
| |
29 | 27 |
| |
| |||
685 | 683 |
| |
686 | 684 |
| |
687 | 685 |
| |
688 |
| - | |
| 686 | + | |
| 687 | + | |
689 | 688 |
| |
690 | 689 |
| |
691 | 690 |
| |
|
0 commit comments
Comments
(0)