Page MenuHomePhabricator

Handle tag tags properly in discovery
ClosedPublic

Authored by epriestley on Jun 20 2016, 6:08 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Apr 19, 4:56 PM
Unknown Object (File)
Wed, Apr 17, 4:37 PM
Unknown Object (File)
Thu, Apr 11, 9:15 PM
Unknown Object (File)
Feb 16 2024, 8:34 PM
Unknown Object (File)
Feb 3 2024, 10:58 AM
Unknown Object (File)
Feb 1 2024, 8:04 PM
Unknown Object (File)
Jan 24 2024, 1:38 AM
Unknown Object (File)
Jan 19 2024, 4:42 PM
Subscribers
None

Details

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.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

epriestley retitled this revision from to Handle tag tags properly in discovery.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: chad.
chad edited edge metadata.
This revision is now accepted and ready to land.Jun 20 2016, 6:09 PM
This revision was automatically updated to reflect the committed changes.