@teto gave some great feedback in NixOS/nixpkgs#238858 (comment)
I did have some thoughts on autoremoval
|
// TODO (mccurdyc): prompt for input if there are uncommitted changes. |
- "
sync --archive - archives repositories, to $GITRS_ROOT/.archived"
But I agree there is still a missing case where maybe instead of the specificity of the first point checking for uncommitted changes, you could set a --always-prompt-before-removal flag or the equivalent!
@teto gave some great feedback in NixOS/nixpkgs#238858 (comment)
I did have some thoughts on autoremoval
gitrs/src/fs.rs
Line 37 in eef0370
sync --archive- archives repositories, to$GITRS_ROOT/.archived"But I agree there is still a missing case where maybe instead of the specificity of the first point checking for uncommitted changes, you could set a
--always-prompt-before-removalflag or the equivalent!