News for hackers. Stuff that matters.
Re:Ask HN: Do you ever truly use your revision history? by teddyh on Sunday March 08, 2020 @03:30PM (#22519994)
> git log -p > bigass

> and then grep through the file (edit: which I like to do in Emacs—hence the file)

Since you already have Emacs, I would suggest you do M-& git log -p RET instead. No need to round-trip the data through a file.

Re:Ask HN: Do you ever truly use your revision history? by dang on Monday March 09, 2020 @08:18PM (#22531418)
I had a feeling someone would come up with a suggestion like this! Cunningham's Law and all that. Posting wrong or insufficient things on the internet is a great learning strategy.

However, I get:

  WARNING: terminal is not fully functional
  -  (press RETURN)
and on pressing return, I only get enough data to fill the buffer.
Re:Ask HN: Do you ever truly use your revision history? by kragen on Tuesday March 10, 2020 @11:37AM (#22536340)
I always set PAGER=cat in Emacs. If you're running a VT100 emulator in Emacs this may be bad, otherwise it avoids the problem your describe.