From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 2NK+GL2XFmDPNwAA0tVLHw (envelope-from ) for ; Sun, 31 Jan 2021 11:42:53 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id uEaQFL2XFmByYgAA1q6Kng (envelope-from ) for ; Sun, 31 Jan 2021 11:42:53 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id DF91D9404C2 for ; Sun, 31 Jan 2021 11:42:50 +0000 (UTC) Received: from localhost ([::1]:53996 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l6B7x-00086s-Sl for larch@yhetil.org; Sun, 31 Jan 2021 06:42:49 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:33242) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l6B7A-000851-A8 for emacs-orgmode@gnu.org; Sun, 31 Jan 2021 06:42:00 -0500 Received: from mout02.posteo.de ([185.67.36.66]:33005) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l6B77-0001Tp-S4 for emacs-orgmode@gnu.org; Sun, 31 Jan 2021 06:42:00 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 51FC92400FB for ; Sun, 31 Jan 2021 12:41:54 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1612093314; bh=zXitsMU9lpdpDL/ikDcN+S/4QT2WqMjf41utemoXvJk=; h=From:To:Cc:Subject:Date:From; b=lt6toAucOsMeuWBo0XQs9L5lyr+SVLelm/WRtwE+cfkPOlCY+PsPzxv2BoQO6LKEk ZnpW71rynkFq5n7uFH99lmS74X1/sk5l2ucg5hNNDmnwQ8RfoizHRwVjRfFc/ztuUh qwmwqW9qHO20iCWujhd+06sZcCiyTV6MuWgBR1lBOz/8AArr9njbSO8cv1j2e/d9nC RUL4z4xXc76mK3AUr3ARrWbozolLZ758Cv5u39hhD9rRazsZExO+IxGGv9ZpR1i9tm imrFXnK/lFiywsmpIt6gRzW7vq+zaEzdtHZHm6gaTsZyHUCohLtRrB1zdb6jRjeIj6 0JMp4odPFfOTw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4DT8LT57MYz9rxd; Sun, 31 Jan 2021 12:41:53 +0100 (CET) From: =?utf-8?Q?Juan_Manuel_Mac=C3=ADas?= To: Ihor Radchenko Subject: Re: org-attach-git don't automatically commit changes References: <87czxn91dj.fsf@posteo.net> <87a6sr6mcq.fsf@localhost> <8735yiv926.fsf@posteo.net> <87wnvt4w62.fsf@localhost> <87r1m1o0vz.fsf@posteo.net> <87k0rt4bvc.fsf@localhost> Date: Sun, 31 Jan 2021 12:41:52 +0100 In-Reply-To: <87k0rt4bvc.fsf@localhost> (Ihor Radchenko's message of "Sun, 31 Jan 2021 18:52:23 +0800") Message-ID: <87h7mxnxj3.fsf@posteo.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.66; envelope-from=maciaschain@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: orgmode Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -3.06 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=lt6toAuc; dmarc=pass (policy=none) header.from=posteo.net; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: DF91D9404C2 X-Spam-Score: -3.06 X-Migadu-Scanner: scn1.migadu.com X-TUID: vV096jWvKUHS Ihor Radchenko writes: > I think you misunderstood how org-attach-git works. > > org-attach-git is: > > ;; An extension to org-attach. If `org-attach-id-dir' is initialized > ;; as a Git repository, then org-attach-git will automatically commit > ;; changes when it sees them. Requires git-annex. > > So, it is not designed to work when your actual attachment directory is > a git repo, but rather when org-attach-id-dir is a git repo (initialised > manually). Thanks for the explanation: it is clear that I had misinterpreted `org-attach-id-dir'. Now it makes sense that it didn't work for me. Anyway, I think the manual at that point is somewhat ambiguous and it should be more precise, IMHO. > So, I believe that org-attach-git should be updated. Probably, > handling attachment dirs as individual git repos can be one of the > ways to upgrade the current version. I agree, I think this possibility makes a lot more sense. Best regards, Juan Manuel