Home GnuPG

(stable) Handle tag tags properly in discovery
83121f78980bUnpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(no title)

(stable) Handle tag tags properly in discovery

Summary:
Fixes T11180. In Git, it's possible to tag a tag (????). When you do, we try to log the tag-object, which automatically resolves to the commit and fails.

Just skip these. If "A" points at "B" which points at "C", it's fine to ignore "A" and "B" since we'll get the same stuff when we process "C".

Test Plan:

  • Tagged a tag.
  • Pushed it.
  • Discovered it.
  • Before patch: got exception similar to the one in T11180.
  • After patch: got tag-tag skipped. Also got slightly better error messages.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T11180

Differential Revision: https://secure.phabricator.com/D16149

Details

Provenance
epriestley <git@epriestley.com>Authored on Jun 20 2016, 8:07 PM
Parents
rPHAB59bc6adc0e22: (stable) Promote 2016 Week 25
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPHAB83121f78980b: (stable) Handle tag tags properly in discovery (authored by epriestley <git@epriestley.com>).Jun 20 2016, 8:36 PM