Quick Start
Your first run
Section titled “Your first run”Compare the last two commits in your current repo:
symtrace . HEAD~1 HEADThat’s it. symtrace will show you what functions, classes, and variables were added, removed, moved, renamed, or modified.
More examples
Section titled “More examples”# Compare two specific commitssymtrace /path/to/repo a1b2c3d 9f8e7d6
# Compare a feature branch against mainsymtrace /repos/project main feature/my-feature
# Compare two release tagssymtrace /repos/project v1.0.0 v2.0.0Common options
Section titled “Common options”# Only show logic changes (ignore comments and whitespace)symtrace . HEAD~1 HEAD --logic-only
# Get JSON output for scriptingsymtrace . HEAD~1 HEAD --json
# Combine bothsymtrace . HEAD~5 HEAD --logic-only --jsonWhat the output looks like
Section titled “What the output looks like”src/server.rs + [INSERT] function 'handle_request' inserted (L42) ~ [MODIFY] function 'parse_body' modified (L10 -> L10) [75% similar] r [RENAME] function renamed: 'old_name' -> 'new_name' (L5) [98% similar] - [DELETE] function 'deprecated_fn' deleted (L88) m [MOVE] function 'helper' moved (L20 -> L35) [100% similar]
Summary Files: 1 | Moves: 1 | Renames: 1 | Inserts: 1 | Deletes: 1 | Modifications: 1See the CLI Reference for all arguments and options.