From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id EFo7FL8zFGAERQAA0tVLHw (envelope-from ) for ; Fri, 29 Jan 2021 16:11:43 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id cNwREL8zFGA/BAAAbx9fmQ (envelope-from ) for ; Fri, 29 Jan 2021 16:11:43 +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 B48F29404E8 for ; Fri, 29 Jan 2021 16:11:42 +0000 (UTC) Received: from localhost ([::1]:44844 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l5WN2-0004Sc-4d for larch@yhetil.org; Fri, 29 Jan 2021 11:11:40 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:35780) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l5WM0-0004On-Ms for emacs-orgmode@gnu.org; Fri, 29 Jan 2021 11:10:37 -0500 Received: from mout02.posteo.de ([185.67.36.66]:51915) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l5WLw-0005h2-G2 for emacs-orgmode@gnu.org; Fri, 29 Jan 2021 11:10:36 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 65B5124015C for ; Fri, 29 Jan 2021 17:03:21 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1611936201; bh=82A44nR345ZSGS0vqmdO8maFQlogO8U1UJoyONxdt3s=; h=From:To:Subject:Date:From; b=nt4kny+O/5yUV8LLA4DvdxGxduzRdub7+zHPl7ESzcqeFp7jI3Ad5t80ufZT05NTH Ta+F1vfLK94OeMHOp/EGMsrEzlslKx4L3fvGYvqD79laekOaF6qCObP41cSgaU/8J5 fA1G71kHaziSBAq4poZ4yUNAECMumPjifQP2tTGQNlwbrHFy7kHOped8tCVNGv/S0v woI0gR04Qf6NfLf2/+FaLa/Znr7AdmgVvXhR8AWd3wQUxjN4wD7O5MixiY/6TRXIC7 e7PABm9SF/wIetbEPcA4FUcqU9wYvoCgw0DQZECiShaGeQnpD20QQ8drmTZLx6dBDU 4qsTHqhUDcX1w== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4DS2F45F0lz6tmG for ; Fri, 29 Jan 2021 17:03:20 +0100 (CET) From: =?utf-8?Q?Juan_Manuel_Mac=C3=ADas?= To: orgmode Subject: org-attach-git don't automatically commit changes Date: Fri, 29 Jan 2021 17:03:20 +0100 Message-ID: <87czxn91dj.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: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -2.55 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=nt4kny+O; 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: B48F29404E8 X-Spam-Score: -2.55 X-Migadu-Scanner: scn1.migadu.com X-TUID: z3jv7GeezkNR Hi, I don't know if this is a bug or if I am doing something wrong... According to the manual: #+begin_quote If the directory attached to an outline node is a Git repository, Org can be configured to automatically commit changes to that repository when it sees them. To make Org mode take care of versioning of attachments for you, add the following to your Emacs config: (require 'org-attach-git) #+end_quote I don't see that org-attach "automatically commit changes when it sees them". Only when I run in the attached directory `M-: (org-attach-git-commit) RET' it works fine. `org-attach-after-change-hook' is set to `(org-attach-git-commit)'. Regards, Juan Manuel