Re:Ask HN: Do you ever truly use your revision history?
by simias on Sunday March 08, 2020 @10:54AM
(#22518299)
You can pipe through `less` and then search using `/`, no need to redirect into a file (and this way you don't have to wait for the history to be done dumping before you start your search, which can be a pain for very huge repos).
[ Parent
| on HN ]
Re:Ask HN: Do you ever truly use your revision history?
by dang on Sunday March 08, 2020 @02:03PM
(#22519489)
I do that when I know just what I'm searching for, but for this sort of meandering around, I prefer to explore a file in Emacs. I can quickly get a list of everything that matches a certain regex and hop between the locations etc. It's much easier and faster (for me—a lot of this is just whatever one's used to). You're right that for a much larger repo, waiting for a file to dump, not to mention Emacs to open it, would make this impratical.