Skip to content
This repository has been archived by the owner on Mar 29, 2019. It is now read-only.

git describe orders by date without timezone #23

Closed
escapewindow opened this issue Mar 30, 2017 · 2 comments
Closed

git describe orders by date without timezone #23

escapewindow opened this issue Mar 30, 2017 · 2 comments

Comments

@escapewindow
Copy link
Contributor

PREVIOUS_TAG=git describe --abbrev=0

This shows the latest tag, assuming the tags are in the same timezone, or separated by >N hours. But, if

  • tag a is created by someone in Europe
  • tab b is later created by someone in California, but without 8+ hours of separation,

then git describe orders the European tag first.

We need a better way.

@escapewindow
Copy link
Contributor Author

The problem might also be git describe looking at the latest revision tagged instead of timestamp. Not entirely sure.

@escapewindow
Copy link
Contributor Author

This is addressed in the readme: backouts are landing a new commit, then tagging new.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant