From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tyler Smith Subject: Re: org files and projects nested git repositories Date: Thu, 31 Dec 2015 13:38:47 -0500 Message-ID: <87bn96layw.fsf@plantarum.ca> References: <87oad6ldqv.fsf@plantarum.ca> <8737ui8oq5.fsf@kyleam.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52049) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aEi7g-0004QG-3G for emacs-orgmode@gnu.org; Thu, 31 Dec 2015 13:38:52 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aEi7c-0006tZ-PR for emacs-orgmode@gnu.org; Thu, 31 Dec 2015 13:38:51 -0500 Received: from out4-smtp.messagingengine.com ([66.111.4.28]:50697) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aEi7c-0006tP-Ip for emacs-orgmode@gnu.org; Thu, 31 Dec 2015 13:38:48 -0500 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 17D9C207B3 for ; Thu, 31 Dec 2015 13:38:48 -0500 (EST) In-Reply-To: <8737ui8oq5.fsf@kyleam.com> (Kyle Meyer's message of "Thu, 31 Dec 2015 13:20:02 -0500") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Kyle Meyer Cc: orgmode list Kyle Meyer writes: > > In addition to what Ken suggested, another option is to use links to > populate the agenda directory. Have a git repo for your Org notes and > agenda file (your "org" directory above), and add this directory (or one > of its subdirectories) to org-agenda-files so that all the Org files in > that directory are considered agenda files. > > Keep project-related Org files in the given project directory (as you do > above), and create a symbolic link for the Org file in the agenda > directory. The project directory will then track the content of the Org > file, and the agenda repo will just track the presence of the link. > Thanks Kyle. I have tried links, but in all my attempts the links break whenever the source or the target is committed to version control. My understanding that each new commit to a file effectively changes the inode, breaking the link. In your use, are the targets and their links both under version control? If so, obviously they aren't breaking, so I must be doing something wrong when I try the same thing. Best, Tyler -- http://plantarum.ca