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)
Sat, Dec 21, 2:18 AM
Unknown Object (File)
Fri, Dec 6, 7:47 AM
Unknown Object (File)
Nov 19 2024, 3:23 AM
Unknown Object (File)
Nov 19 2024, 1:40 AM
Unknown Object (File)
Oct 25 2024, 11:16 PM
Unknown Object (File)
Oct 25 2024, 1:50 PM
Unknown Object (File)
Oct 25 2024, 10:34 AM
Unknown Object (File)
Oct 23 2024, 4:01 AM
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.