On Friday, June 16, 2017 at 10:00:01 AM UTC-5, Edward K. Ream wrote:

> There is an even easier prototype: print statements...I'll play with this 
today, in the hopes of reaching a stopping point.

I'm near that stopping point. Issuing this command (using subprocess) 
yields the full hashes of 15192 commits in maybe 0.1 sec:

   git log --pretty=format:"%H"

The git log docs <https://git-scm.com/docs/git-log> show the format of the 
command as:

  git log [<options>] [<revision range>] [[\--] <path>…​]

so there is an easy way of getting, say, the first 10 commits.  This is 
plenty good enough as a prototype.

I'll be satisfied with the present work once I have created leoGit.py which 
will contain an easy way to call git and get the results, as shown 
yesterday.

Edward

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.

Reply via email to