On Sunday, July 9, 2017 at 7:39:14 PM UTC-5, Edward K. Ream wrote:

1. Use git diff --patch to generate a patch, and then *apply the patch* to 
> generate the *old* file.
>
> Alternatively, use git show <https://stackoverflow.com/questions/888414/> 
> to copy the old file into a temp file.
>

Another alternative is git cat-file.  I would prefer not to generate a temp 
file, but to use subprocess to pipe the output of git cat-file directly 
into Leo.  This will be the first task.

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