Skip to content
Snippets Groups Projects

Compile: add reset option

Merged Duncan McNamara requested to merge Skantes/vlc-android:compile-reset into master
1 unresolved thread

Resets the submodules medialibrary and vlc to the tested hash

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
297 300 fi
298 301 if [ "$BYPASS_VLC_SRC_CHECKS" = 1 ]; then
299 302 diagnostic "VLC sources: Bypassing checks (required by option)"
303 elif [ $RESET -eq 1 ]; then
304 cd vlc
305 git reset --hard ${TESTED_HASH} || fail "VLC sources: TESTED_HASH ${TESTED_HASH} not found"
  • I just tested it for the first time "in the real world". Maybe we should add a git pull --rebase before the reset. It can be useful when updating the hash.

  • Please register or sign in to reply
Please register or sign in to reply
Loading