Repositories / agent-snapshot.git
agent-snapshot.git
Clone (read-only): git clone http://git.guha-anderson.com/git/agent-snapshot.git
@@ -634,7 +634,9 @@ let print_snapshot_summary () : unit = then incr updated_files; if operation_was_recorded recd "read" && Option.is_some recd.before.blob then incr uncommitted_read_files) files; - Printf.eprintf "Worked in %d repositories. Saved %d updated files. Saved %d read files in the snapshot that were not committed.\n%!" + Printf.eprintf + "Snapshot directory: %s\nWorked in %d repositories. Saved %d updated files. Saved %d read files in the snapshot that were not committed.\n%!" + !snapshot_dir (Hashtbl.length repos) !updated_files !uncommitted_read_files (** Resolve relative syscall paths against cwd or a directory fd as required by *at syscalls. *)
@@ -371,6 +371,7 @@ def test_run_prints_stderr_summary(tmp_path): ) assert completed.stderr.endswith( + f"Snapshot directory: {out}\n" "Worked in 0 repositories. Saved 0 updated files. Saved 0 read files in the snapshot that were not committed.\n" )