Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 7FA59E00924; Sat, 25 Feb 2017 01:00:06 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low * trust * [208.80.204.84 listed in list.dnswl.org] Received: from smtp484.redcondor.net (smtp484.redcondor.net [208.80.204.84]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 0709CE00839 for ; Sat, 25 Feb 2017 01:00:02 -0800 (PST) Received: from astoria.ccjclearline.com ([64.235.106.9]) by smtp484.redcondor.net ({c48374e7-08df-40d9-a0de-96cc9883a037}) via TCP (outbound) with ESMTPS id 20170225085901981_0484 for ; Sat, 25 Feb 2017 08:59:01 +0000 X-RC-FROM: X-RC-RCPT: Received: from [174.118.92.171] (port=50740 helo=crashcourse.ca) by astoria.ccjclearline.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.80) (envelope-from ) id 1chYBs-0004KR-7O for yocto@yoctoproject.org; Sat, 25 Feb 2017 03:58:56 -0500 Date: Sat, 25 Feb 2017 03:58:53 -0500 (EST) From: "Robert P. J. Day" X-X-Sender: rpjday@localhost.localdomain To: Yocto discussion list Message-ID: User-Agent: Alpine 2.20 (LFD 67 2015-01-07) MIME-Version: 1.0 X-MAG-OUTBOUND: ccj.redcondor.net@64.235.106.9/32 Subject: puzzling instructions in kernel dev manual, section 2.3.1 X-BeenThere: yocto@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Discussion of all things Yocto Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Feb 2017 09:00:06 -0000 Content-Type: text/plain; charset=US-ASCII just noticed this in kernel dev manual, section 2.3.1: "To force a pickup and commit of all such pending changes, enter the following: $ git add . $ git commit -s -a -m "getting rid of -dirty" the "-a" option with "commit" means, "Tell the command to automatically stage files that have been modified and deleted, but new files you have not told Git about are not affected." but the previous command, "git add .", by using an argument of ".", has already staged any new files, has it not? perhaps the preceding command should have been "git add -u" for update mode? or am i just confused? rday -- ======================================================================== Robert P. J. Day Ottawa, Ontario, CANADA http://crashcourse.ca Twitter: http://twitter.com/rpjday LinkedIn: http://ca.linkedin.com/in/rpjday ========================================================================