Compare commits
24 commits
83343bc3dd
...
dc1ceba1a4
| Author | SHA1 | Date | |
|---|---|---|---|
|
dc1ceba1a4 |
|||
|
369fd9b352 |
|||
|
0288be07f9 |
|||
|
e47690a858 |
|||
|
bb562b542d |
|||
|
0a15e0b1f3 |
|||
|
b72c424ebb |
|||
|
344dc0c7e7 |
|||
|
4eb2d8d092 |
|||
|
14264931dd |
|||
|
f70e3b8690 |
|||
|
34976a66d2 |
|||
|
e783178493 |
|||
|
5a7762ac13 |
|||
|
255220b43c |
|||
|
fc2d89892c |
|||
|
8ed0b6fb12 |
|||
|
7ee9ee1159 |
|||
|
0cc72e9916 |
|||
|
4fc05e71e7 |
|||
|
fa5befff3b |
|||
|
b71b2862c9 |
|||
|
27160a1eda |
|||
|
5385c0f4ed |
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