News for hackers. Stuff that matters.
Re:Requests moved to Python Software Foundation by Avamander on Thursday September 19, 2019 @08:52AM (#21015653)
I am not. Manually issuing rebranch is too slow for any git histories over a few hundred. You'd then also have to find which commits you want to merge, merge them and so on and on. Rebranch basically works if you just want to fix one mistake in history you know you have.
Re:Requests moved to Python Software Foundation by packetlost on Thursday September 19, 2019 @09:42AM (#21016055)
... what? `rebranch` isn't a command in git? I think you mean rebase, and sure, if you were rebasing the entire history it would be slow and awful. But don't do that. Rebase at like `HEAD~10` (or whatever) to only clean up the last 10 commits. There's no performance issues or even management issues. Maybe go read the rebasing section (https://git-scm.com/book/en/v2/Git-Branching-Rebasing) of the git manual...
Re:Requests moved to Python Software Foundation by Avamander on Thursday September 19, 2019 @09:45AM (#21016085)
Yes, autocorrect changed it. So last ten commits isn't slow but I literally asked about entire git history.
Re:Requests moved to Python Software Foundation by falsedan on Thursday September 19, 2019 @09:53AM (#21016151)
Why would you rebase an entire git history? No one is arguing for that.
Re:Requests moved to Python Software Foundation by Avamander on Thursday September 19, 2019 @09:55AM (#21016175)
I... like, the first comment in the thread I asked if there's a tool that could go over the entire git history of a repo and fix such issues up, rebase isn't a solution in that case because it does get slow and it requires manual work which is slow, I don't understand how people are losing the context so quickly here.
Re:Requests moved to Python Software Foundation by icebraining on Friday September 20, 2019 @07:20PM (#21032291)
Your comment didn't say "the entire git history of a repo", and in the context of this thread, people made the reasonable assumption your were talking about a few sequential commits, as discussed regarding the edits to README on the Requests repo.