From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Hendy Subject: Assistance with patching instructions on Worg Date: Fri, 31 Jan 2014 15:33:37 -0600 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50616) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W9LiV-0006S7-DS for emacs-orgmode@gnu.org; Fri, 31 Jan 2014 16:33:40 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W9LiU-0007QF-7P for emacs-orgmode@gnu.org; Fri, 31 Jan 2014 16:33:39 -0500 Received: from mail-ob0-x231.google.com ([2607:f8b0:4003:c01::231]:60650) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W9LiU-0007QA-2C for emacs-orgmode@gnu.org; Fri, 31 Jan 2014 16:33:38 -0500 Received: by mail-ob0-f177.google.com with SMTP id wp18so5527463obc.8 for ; Fri, 31 Jan 2014 13:33:37 -0800 (PST) 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: emacs-orgmode Greetings, I've only contributed to Worg, not the Org manual. I want to submit a change to the documentation per an earlier discussion.[1] I'm attempting to follow the Worg suggestion for submitting patches.[2] Here was my process cd ~/.elisp/org.git git pull make clean && make git branch org-src-preserve-whitespace git checkout org-src-preserve-whitespace emacs doc/org.texi [make changes to documentation] git commit -m "Update documentation to org-src-preserve-indentation." git format-patch master But no files were generated... Am I doing something incorrectly? Here's the current output of =git status= On branch org-src-preserve-whitespace Changes not staged for commit: (use "git add ..." to update what will be committed) (use "git checkout -- ..." to discard changes in working directory) modified: doc/org.texi no changes added to commit (use "git add" and/or "git commit -a") UPDATE: just on a whim, I did `git commit -am "notes"` and now it works. Since the file exists, why is -am necessary vs. just -m? Or perhaps another question is why Worg suggests just -m. Should/would this work under some circumstance? I can update Worg with -am if this is the proper/necessary way. Thanks, John [1] https://lists.gnu.org/archive/html/emacs-orgmode/2014-01/msg01505.html [2] http://orgmode.org/worg/org-contribute.html#sec-4