Re: history damage in linux.git
- From
Olaf Hering <olaf@aepfle.de>
- Date
- Apr 21, 2016, 15:54 UTC
- Message-ID
- <20160421155408.GE3186@aepfle.de>
- In-Reply-To
- <20160421131916.GB1589@serenity.lan>
On Thu, Apr 21, John Keeping wrote:
> $ git tag --contains aed06b9cfcabf8644ac5f6f108c0b3d01522f88b
Thanks for that, I did not know this variant.
Unless git does not do it for me, I may hackup my script like that to find the earlierst tag:
for i in `git tag --contains aed06b9cfcabf8644ac5f6f108c0b3d01522f88b` do git log --max-count=1 --oneline --pretty=%ct:%h:$i $i | cat done | sort -n | sed 's@^.*:@@;q'
Olaf