git log

built-in
-44.8% Savings
15 Commands
-601 Tokens saved
2 Tests

Install

tokf install 07438e0a2d2b18c8218db62cfbc68fce8d7c6ceb3bc74897b6866a989be90ea1
Safety checks passed

Filter definition

# git-log.toml — Override command to get compact format
# Raw: multi-line commit entries with full metadata
# Filtered: one-line-per-commit format

command = "git log"

# Override to get compact output directly from git
run = "git log --oneline --no-decorate -n 20 {args}"

# Nothing to filter — the override command already produces compact output
# But if args include --stat or --patch, passthrough
[on_success]
output = "{output}"

Examples

empty git log produces no output ~0 tokens → ~0 tokens
Raw output
 
Filtered output
 
git log output passes through unchanged ~64 tokens → ~64 tokens
Raw output
a1b2c3d feat(filter): implement section state machine
e4f5g6h feat(filter): implement group/parse pipeline
i7j8k9l feat(filter): implement skip/keep filtering
m0n1o2p feat(runner): implement command execution
q3r4s5t feat(config): implement FilterConfig types
Filtered output
a1b2c3d feat(filter): implement section state machine
e4f5g6h feat(filter): implement group/parse pipeline
i7j8k9l feat(filter): implement skip/keep filtering
m0n1o2p feat(runner): implement command execution
q3r4s5t feat(config): implement FilterConfig types
Warning: Community filters are third-party code. Review the filter definition above before installing it in production environments.
Browse all filters