defunkt / gist

Potentially the best command line gister.
http://defunkt.io/gist/
MIT License
3.8k stars 340 forks source link

Bug: Gist title and filenames not fetched for some Gists #338

Open zachriggle opened 3 years ago

zachriggle commented 3 years ago

It looks like sometimes gist -l does not correctly fetch the filenames / description of a Gist.

This tends to happen more with (secret) gists, but since some (secret) gists DO have file lists and a description, this seems like a bug.

Here's an example:

$ gist -l
...
https://gist.github.com/8efe8fc99e0a62804fe6646e13f8a292  (secret)
...

However, if you go to that Gist, you see that it only has a single file (for-jmcantrell.txt) -- but the filename is not printed.

Other Secret gists show the filename or description, for example:

https://gist.github.com/768ebfb72dc37dc2cf88 asdf (secret) # Shows description, but no filenames -- probably fine
https://gist.github.com/9fb02a9994ae6a66ca05 win.py (secret) # Shows filename