3 ms·
> 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
by teddyh 7y ago
> 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.
- dang 7y agoI 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.
- kragen 7y agoI 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.