JiriUpdater: Do not set branch for SHA1

In pinned manifest, the ref is a SHA1. Current code is writing "branch =
<SHA1>" that is not a valid value. Furthermore, tags are not valid
values for the branch field.

Write the branch field only for non-tags. Tags go to the "ref" field
(RepoCommand does this).

Change-Id: Id89d8a4c1dd6d9dc3327fc3f60a6b7c7a324b0a5
2 files changed
tree: f0e21688b82eb0275d4c35cf443fada78dc54ddb
  1. java/
  2. javatests/
  3. BUILD
  4. external_plugin_deps.bzl
  5. LICENSE
  6. README.md
README.md

The plugin will update a superproject to contain the submodules defined in the manifest XML file whenever the manifest repo is changed.

For more information see the documentation or the build instructions