Skip to contentSkip to conversation

(unknown)

DISCUSSION [email protected] 2 participants 3 messages Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

Hello,

I found the following on the development version of git.el: saving non-git-managed files in Emacs threw an error.

It is due to a simple error in the call to condition-case in a recently added function, git-update-save-file.

I attached the patch for your convenience.

Regards,
Matthieu Lemerre

PS: Please Cc me when you ackwowledge; I'm not subscribed to the list. As a matter of fact, I found the bug only because I didn't find git.el for my distribution (debian) so I got directly from the development version on the website.

#1 lore raw

Re: git.el fails on non-git managed files

Quoted 7 lines · [email protected] wrote:

I found the following on the development version of git.el: saving non-git-managed files in Emacs threw an error.

It is due to a simple error in the call to condition-case in a recently added function, git-update-save-file.

I attached the patch for your convenience.

I'm not sure what happened, but I didn't receive a patch with your email. Would you mind resending it to the list? You may also want to file a bug with your distribution to get the Emacs bindings included.

Signature · 1 line
Shawn.
#2 lore raw

Re: git.el fails on non-git managed files

Quoted 7 lines · Shawn O. Pearce
Quoted 6 lines · [email protected] wrote:

I found the following on the development version of git.el: saving non-git-managed files in Emacs threw an error.

It is due to a simple error in the call to condition-case in a recently added function, git-update-save-file.

Quoted 6 lines
Quoted 1 line

I attached the patch for your convenience.

I'm not sure what happened, but I didn't receive a patch with your email. Would you mind resending it to the list? You may also want to file a bug with your distribution to get the Emacs bindings included.

Sure; the SMTP server of my ISP behaved weirdly yesterday and I had to use one of these webmail applications. This time it should be OK.

I'll also file a bug to debian, that's a good idea.

Matthieu Lemerre