[roll] Roll fuchsia [fx-worktree] Run jiri worktree sync after checkout

When fx worktree add <name> --sync is run, syncing
before checking out the branch syncs detached HEAD.
If branch <name> already exists from prior work,
checking it out switches away from the synced HEAD
and leaves the worktree out of sync.

Moving sync after git checkout ensures that the
actual checked out branch is synchronized.

Test: Added test_add_with_sync_order and ran manual test commands.

Original-Original-Bug: 516876349
TAG: agy
CONV: 54ba228b-0a73-4dfa-8c3d-43d8babca281
Original-Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1674670
Original-Original-Revision: ec8849c32b8927799b8a624f9e8437e6e3c37519
GitOrigin-RevId: b51550414ff39c28b1e20f25116f5b61b112c425
Change-Id: I035e8081e390a0bb54a46b0b3eeb072dd29fc689
Reviewed-on: https://fuchsia-review.googlesource.com/c/integration/+/1675082
Cr-Commit-Position: refs/heads/main@{#195380}
1 file changed
tree: fd8509f3b4539b26bdd6560b059f13db8d384070
  1. ctf/
  2. git-hooks/
  3. infra/
  4. third_party/
  5. cobalt
  6. flower
  7. jiri.lock
  8. MILESTONE
  9. minimal
  10. prebuilts
  11. README.md
  12. stem
  13. test_durations
README.md

Integration

This repository contains Fuchsia's Global Integration manifest files.

Making changes

All changes should be made to the internal version of this repository. Our infrastructure automatically updates this version when the internal one changes.

Currently all changes must be made by a Google employee. Non-Google employees wishing to make a change can ask for assistance in one of the communication channels documented at get involved.

Obtaining the source

First install Jiri.

Next run:

$ jiri init
$ jiri import minimal https://fuchsia.googlesource.com/integration
$ jiri update

Third party

Third party projects should have their own subdirectory in ./third_party.