Compare commits
24 commits
dc1ceba1a4
...
83343bc3dd
| Author | SHA1 | Date | |
|---|---|---|---|
|
83343bc3dd |
|||
|
f2af2fbbe4 |
|||
|
a89184a358 |
|||
|
8478c914b5 |
|||
|
0b5882b1e1 |
|||
|
f4287de795 |
|||
|
b0a594e892 |
|||
|
d4938c4ae8 |
|||
|
0fecd1486b |
|||
|
c6d60b4459 |
|||
|
bc74c24dd5 |
|||
|
a1357b2501 |
|||
|
1adccf8587 |
|||
|
829d52c95b |
|||
|
28d1763aee |
|||
|
00f5442679 |
|||
|
885cbd5da6 |
|||
|
0e5fd41496 |
|||
|
0d64d4d1de |
|||
|
a2d4a21fec |
|||
|
74a81e7cfd |
|||
|
3584117eb8 |
|||
|
fb2c02d53d |
|||
|
e01313066d |
2 changed files with 2 additions and 2 deletions
|
|
@ -255,7 +255,7 @@ fn execute_init(
|
||||||
local_config.parent_config_hash = Some(config_hash);
|
local_config.parent_config_hash = Some(config_hash);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Now clone from the local path into .pakku/parent — this avoids
|
// Now clone from the local path into .pakku/parent, this avoids
|
||||||
// re-downloading objects
|
// re-downloading objects
|
||||||
let parent_path = Path::new(&parent_path_str);
|
let parent_path = Path::new(&parent_path_str);
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -441,7 +441,7 @@ pub fn ahead_behind<P: AsRef<Path>>(
|
||||||
})?;
|
})?;
|
||||||
Ok((ahead, behind))
|
Ok((ahead, behind))
|
||||||
} else {
|
} else {
|
||||||
// Remote ref missing — count commits reachable from local
|
// Remote ref missing, count commits reachable from local
|
||||||
let ahead_count = count_commits(&repo, local_oid)?;
|
let ahead_count = count_commits(&repo, local_oid)?;
|
||||||
Ok((ahead_count, 0))
|
Ok((ahead_count, 0))
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue