Lines Matching full:force
6 echo "Usage: $(basename "$0") [--selftest] [--force] <commit-id> [commit-subject]"
11 echo " --force Try to find commit by subject if ID lookup fails"
31 local force=0
32 if [ "$1" = "--force" ]; then
33 force=1
60 # If no matches and not in force mode, return failure
61 if [ ${#matches[@]} -eq 0 ] && [ $force -eq 0 ]; then
71 # In force mode with no ID matches, use git log --grep directly
72 if [ ${#matches[@]} -eq 0 ] && [ $force -eq 1 ]; then
110 …'--force 99999999 ("net/tls: Fix skb memory leak when running kTLS traffic")' # Force mode with n…
112 …'--force 999999999999 ("firmware: ... auto-update: fix poll_complete() ... errors")' # Force mode…
123 "ffef737fd0372ca462b5be3e7a592a8929a82752" # Should find commit by subject in force mode
125 "83beece5aff75879bdfc6df8ba84ea88fd93050e" # Force mode wildcard test
136 0 # Should succeed in force mode
138 0 # Should succeed with force mode and wildcard
147 result=$(git_resolve_commit ${test_cases[$i]}) # Removed quotes to allow --force to be parsed
179 # Handle --force flag
180 force=""
181 if [ "$1" = "--force" ]; then
182 force="--force"
191 # Skip validation in force mode
192 if [ -z "$force" ]; then
200 git_resolve_commit $force "$@"