import tag matching upload tag is nevertheless created in a separate commit

Bug #1734883 reported by Robie Basak
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
git-ubuntu
Fix Released
Undecided
Robie Basak

Bug Description

Needs confirmation as to whether this is the current behaviour.

But in sssd commit 42a95c2755c71846672a040fa3deda768b323442 the import tag has the upload tag as a parent. With our commit graph change, should we make them the same commit? Or is there some other parent to consider that escapes my mind? What if we optimise and say that in the case that all parents and tree objects match, we re-use the same commit?

Related branches

Robie Basak (racb)
tags: added: import
Revision history for this message
Nish Aravamudan (nacc) wrote :

I *think* git_repository.commit_tree_hash could shortcut this.

If parents is a singleton list, and the tree of that list matches tree_hash, perhaps we don't commit it at all? And instead return the parent itself as the resulting committed hash?

Robie Basak (racb)
tags: added: spec
Robie Basak (racb)
Changed in usd-importer:
status: New → In Progress
assignee: nobody → Robie Basak (racb)
Robie Basak (racb)
Changed in usd-importer:
status: In Progress → Fix Committed
Revision history for this message
Robie Basak (racb) wrote : Fix released in git-ubuntu

Fix released in git-ubuntu version 1.0

Changed in usd-importer:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.