This commit is contained in:
2025-08-15 07:09:40 +02:00
parent e77f923cd2
commit e030309b7f
27 changed files with 167 additions and 285 deletions

View File

@@ -45,6 +45,8 @@ pub fn (mut gs GitStructure) do(args_ ReposActionsArgs) !string {
mut args := args_
console.print_debug('git do ${args.cmd}')
$dbg;
if args.path == '' && args.url == '' && args.repo == '' && args.account == ''
&& args.provider == '' && args.filter == '' {
args.path = os.getwd()
@@ -84,7 +86,7 @@ pub fn (mut gs GitStructure) do(args_ ReposActionsArgs) !string {
// NEW: Update status only for the relevant repos.
console.print_header('Updating status for selected repos...')
for mut repo in repos {
repo.status_update(reload: args.reload || args.cmd == 'reload')!
repo.status_update(reset: args.reload || args.cmd == 'reload')!
}
if args.cmd == 'list' {