mfojtik / tracker

Simple GIT patch review tracker
1 stars 1 forks source link

Add TrackedAt header to patch recorded by tracker #12

Closed mfojtik closed 12 years ago

mfojtik commented 12 years ago

Since GIT does not preserve original commit id when you auto-merge patch by 'tracker apply' or 'tracker download', we need to save somewhere what the original commit ID was. In that case users can do 'tracker ack' from their current branch without any ID.

In that case tracker will look up the URL stored in TrackedAt header and use to to mark patches acked/nacked.

mfojtik commented 12 years ago

and.... done :-)

from tracker-client >= 1.0.3 all patches uploaded to tracker gets 'TrackedAt: URL' header to commit message. This is then used when you do 'tracker ack' instead of your local commit id.