From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19061 invoked by alias); 6 Sep 2013 07:42:13 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 19036 invoked by uid 89); 6 Sep 2013 07:42:12 -0000 Received: from mtaout22.012.net.il (HELO mtaout22.012.net.il) (80.179.55.172) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 06 Sep 2013 07:42:12 +0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-4.8 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,KHOP_THREADED autolearn=ham version=3.3.2 X-HELO: mtaout22.012.net.il Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0MSP00A001A2AH00@a-mtaout22.012.net.il> for gdb-patches@sourceware.org; Fri, 06 Sep 2013 10:42:09 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MSP00AQQ1E85550@a-mtaout22.012.net.il>; Fri, 06 Sep 2013 10:42:09 +0300 (IDT) Date: Fri, 06 Sep 2013 07:42:00 -0000 From: Eli Zaretskii Subject: Re: [COMMIT] Re: [PATCH 0/9][gdbserver] Split server.h. In-reply-to: To: Ricard Wanderlof Cc: gdb-patches@sourceware.org Reply-to: Eli Zaretskii Message-id: <83ob86mm60.fsf@gnu.org> References: <1378239999-15533-1-git-send-email-palves@redhat.com> <5228EDE4.7080101@redhat.com> <5229043A.1000408@redhat.com> <83wqmumrhq.fsf@gnu.org> X-IsSubscribed: yes X-SW-Source: 2013-09/txt/msg00203.txt.bz2 > Date: Fri, 6 Sep 2013 08:51:20 +0200 > From: Ricard Wanderlof > CC: "gdb-patches@sourceware.org" > > > Git doesn't save you from having to "git add" new files, does it? > > With git, you need to use 'git add' for all files you're going to commit, > both existing ones and new ones, so there's less of a chance of forgetting > it since you need it all the time. If you use only, git, I can imagine this to be true (although if you use 'add' all the time, how come you forget that with CVS? that doesn't compute). Not so if you also have to use a couple of other VCSes. In fact, git is the odd one out here, AFAIK, as hg, bzr, svn, and cvs all have the same semantics of 'add', while git doesn't. I avoid using "git add" for known files by using "git commit -a" (I have an alias called, not surprisingly, "git ci" to do that automatically); then I only need "git add" when I add new files. That saves me from insanity of remembering the subtly different semantics of 'add' in git.