emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] org-attach + git annex not working


From: Nicolas Goaziou
Subject: Re: [O] org-attach + git annex not working
Date: Thu, 07 May 2015 22:10:23 +0200

Hello,

Erik Hetzner <address@hidden> writes:

> The following patch fixes this issue.
>
> diff --git a/lisp/org-attach.el b/lisp/org-attach.el
> index 1737ec1..b843d48 100644
> --- a/lisp/org-attach.el
> +++ b/lisp/org-attach.el
> @@ -276,7 +276,7 @@ the ATTACH_DIR property) their own attachment directory."
>    "Commit changes to git if `org-attach-directory' is properly initialized.
>  This checks for the existence of a \".git\" directory in that directory."
>    (let* ((dir (expand-file-name org-attach-directory))
> -      (git-dir (vc-git-root dir))
> +      (git-dir (expand-file-name ".git" (vc-git-root dir)))
>        (changes 0))
>      (when (and git-dir (executable-find "git"))
>        (with-temp-buffer

Thank you.

Could you send it again using git format-patch, with a proper commit
message?


Regards,

-- 
Nicolas Goaziou



reply via email to

[Prev in Thread] Current Thread [Next in Thread]