wiggle
« Back to VersTracker
Description:
Program for applying patches with conflicting changes
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: patching diff version-control developer-tools cli
Install: brew install wiggle
About:
Wiggle is a command-line utility designed to apply patches from diff files, even when the context lines do not match perfectly. It attempts to resolve conflicts by merging changes where standard patch tools would fail, making it highly effective for outdated or imperfect patches. This tool is particularly useful for developers maintaining software across different versions or applying changes to modified source trees.
Key Features:
  • Applies patches with mismatched context lines
  • Merges conflicting changes intelligently
  • Outputs a merged file and a conflict report
  • Command-line interface for scripting and automation
Use Cases:
  • Applying an old patch to a newer version of a codebase
  • Merging changes from a patch file that partially overlaps with local modifications
  • Recovering usable changes from a failing 'patch' command
Alternatives:
  • patch – Standard tool that fails on context mismatches; wiggle attempts to merge these.
  • git apply – Works well with Git repositories but requires clean context; wiggle handles fuzzier inputs.
Version History
Detected Version Rev Change Commit
Sep 11, 2025 8:57pm 0 VERSION_BUMP 296485ab