VirtualBox

Ignore:
Timestamp:
May 12, 2020 9:18:29 AM (5 years ago)
Author:
vboxsync
Message:

tools/bin/backport-*: Added --show-diff switch for showing an optional unified diff before committing.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/bin/backport-common.sh

    r84268 r84269  
    7474MY_DEBUG=
    7575MY_FORCE=
     76MY_SHOW_DIFF=
    7677
    7778while test $# -ge 1;
     
    136137        --update-first|--update|-u)
    137138            MY_UPDATE_FIRST=1
     139            ;;
     140
     141        --show-diff)
     142            MY_SHOW_DIFF=1
    138143            ;;
    139144
     
    169174            echo "  --force"
    170175            echo "    Forces backporting, regardless of ancestry. Use with caution!"
     176            echo "  --show-diff"
     177            echo "    Shows unified diff before backporting."
    171178            echo "  --update-first, --update, -u"
    172179            echo "    Merge only: Update the branch before merging."
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette