-
-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GIT_PAGER=mdless git log
hangs
#83
Comments
Yeah, mdless isn't designed to accept streaming input (via pipe), it
needs a Markdown file to read from.
…-Brett
On 23 Mar 2023, at 17:12, Christopher Covington wrote:
`GIT_PAGER=mdless git log` hangs. If I press control+c I get
```
^CTraceback (most recent call last):
6: from /usr/local/bin/mdless:23:in `<main>'
5: from /usr/local/bin/mdless:23:in `load'
4: from /var/lib/gems/2.7.0/gems/mdless-1.0.32/bin/mdless:18:in
`<top (required)>'
3: from /var/lib/gems/2.7.0/gems/mdless-1.0.32/bin/mdless:18:in
`new'
2: from
/var/lib/gems/2.7.0/gems/mdless-1.0.32/lib/mdless/converter.rb:156:in
`initialize'
1: from
/var/lib/gems/2.7.0/gems/mdless-1.0.32/lib/mdless/converter.rb:623:in
`convert_markdown'
/var/lib/gems/2.7.0/gems/mdless-1.0.32/lib/mdless/converter.rb:623:in
`gsub!': Interrupt
```
--
Reply to this email directly or view it on GitHub:
#83
You are receiving this because you are subscribed to this thread.
Message ID: ***@***.***>
|
Not to say it never could be, I just left off on the project before I
looked into ways to make that happen correctly…
…On 23 Mar 2023, at 17:12, Christopher Covington wrote:
`GIT_PAGER=mdless git log` hangs. If I press control+c I get
```
^CTraceback (most recent call last):
6: from /usr/local/bin/mdless:23:in `<main>'
5: from /usr/local/bin/mdless:23:in `load'
4: from /var/lib/gems/2.7.0/gems/mdless-1.0.32/bin/mdless:18:in
`<top (required)>'
3: from /var/lib/gems/2.7.0/gems/mdless-1.0.32/bin/mdless:18:in
`new'
2: from
/var/lib/gems/2.7.0/gems/mdless-1.0.32/lib/mdless/converter.rb:156:in
`initialize'
1: from
/var/lib/gems/2.7.0/gems/mdless-1.0.32/lib/mdless/converter.rb:623:in
`convert_markdown'
/var/lib/gems/2.7.0/gems/mdless-1.0.32/lib/mdless/converter.rb:623:in
`gsub!': Interrupt
```
--
Reply to this email directly or view it on GitHub:
#83
You are receiving this because you are subscribed to this thread.
Message ID: ***@***.***>
|
did you try: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
GIT_PAGER=mdless git log
hangs. If I press control+c I getFormatting a couple commits standalone works:
(I've configured
core.commentchar=@
in git to make including headers in commit messages easier.)The text was updated successfully, but these errors were encountered: