git log

built-in
-197.1% Savings
176 Commands
-35958 Tokens saved
2 Tests

Install

tokf install fab2d7da47273e062365b6fa7649ecb0fbef75c0b4e757033529d0592e554aa6
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