[Top][All Lists]

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

Re: [O] org-attach should detect git also higher in the filesystem

From: Carsten Dominik
Subject: Re: [O] org-attach should detect git also higher in the filesystem
Date: Sat, 31 Aug 2013 16:05:22 +0200

Hi Thomas,

I think this has been fixed today with 


Could you please check if this is correct?

Thank you.

- Carsten

On 5.8.2013, at 23:58, Thomas Koch <address@hidden> wrote:


I tested org-attach with the org file being inside a git repo. I observed that
the auto-commit feature of org-attach seems to work only if the data directory
is the root of a git repo (detected by looking for a .git folder in the data

I'd like however to have the org file in the git repo too and the data folder
being a sub-folder of the git repo. Actually I'd also like to use git-annex

Some options of git rev-parse might be helpful here instead of coding the repo
detection check by hand in elisp:

          Show the absolute path of the top-level directory.

          When the current working directory is inside the work tree of the
repository print "true", otherwise "false".

What do you think?


Thomas Koch, http://www.koch.ro

reply via email to

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