From mboxrd@z Thu Jan 1 00:00:00 1970 From: Josiah Schwab Subject: Re: Assistance with patching instructions on Worg Date: Fri, 31 Jan 2014 14:23:56 -0800 Message-ID: <87y51veqo3.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57951) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W9MVX-00068r-Ss for emacs-orgmode@gnu.org; Fri, 31 Jan 2014 17:24:25 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W9MVS-0004jj-1o for emacs-orgmode@gnu.org; Fri, 31 Jan 2014 17:24:19 -0500 Received: from mail-pb0-x230.google.com ([2607:f8b0:400e:c01::230]:49740) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W9MVR-0004j4-OP for emacs-orgmode@gnu.org; Fri, 31 Jan 2014 17:24:13 -0500 Received: by mail-pb0-f48.google.com with SMTP id rr13so4914251pbb.21 for ; Fri, 31 Jan 2014 14:23:59 -0800 (PST) In-reply-to: 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: John Hendy Cc: emacs-orgmode jw.hendy@gmail.com writes: > 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? Yes. You need to explicitly add your changes to the index. git add doc/org.text then git commit -m "message" will behave as you expect. (Using "git commit -a" worked, because that is like doing a "git add" to all modified files.) It sounds like you misunderstand what "git add" does. If you read a little bit more about git workflows, I think it will make sense to you. Perhaps the following link would be useful: http://stackoverflow.com/questions/3689838/difference-between-head-working-tree-index-in-git Hope that helps, Josiah