Open TerraTech opened 7 years ago
That's a very good idea!
We can match the date and even the author, I am pretty sure this will make it work almost perfectly, as long as they are kept during the rebase operation!
A lot of times, while hacking on Go code, I'll incrementally commit my changes, and when I'm ready to tag it, I'll run:
Yeah, a classic is update README.md
I forgot to ask, will you be taking on the development of this enhancement?
I am pretty busy with other projects right now, so maybe later
While updating the large library, I found that several tags were misapplied due to having the same commit message.
In my case, I had added tags to 'go fmt'.
A lot of times, while hacking on Go code, I'll incrementally commit my changes, and when I'm ready to tag it, I'll run:
I do it this way, as the prior commit shows just specifically the changes I made, where when 'go fmt' is run it can adjust a lot of non-related code with formatting changes.
Unfortunately, this will cause problems for git-rebasetags. My ideas is to also use Author and AuthorDate as matching criteria as that shouldn't change during rebases.
What do you think about this and possibly other seldom-to-change items from the commit message? I know Author* items can be changed in history, but for the most part it would add an extra level of matching criteria that should increase the success rate.