From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.54) id 1FZb9n-00059m-I3 for garchives@archives.gentoo.org; Fri, 28 Apr 2006 22:09:47 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.6/8.13.6) with SMTP id k3SM9Doc019188; Fri, 28 Apr 2006 22:09:13 GMT Received: from smtp.ferdyx.org (170.Red-213-96-222.staticIP.rima-tde.net [213.96.222.170]) by robin.gentoo.org (8.13.6/8.13.6) with ESMTP id k3SM6YYI008761 for ; Fri, 28 Apr 2006 22:06:34 GMT Received: from localhost (localhost [127.0.0.1]) by smtp.ferdyx.org (Postfix) with ESMTP id 74B948D393; Fri, 28 Apr 2006 23:56:22 +0200 (CEST) Received: from smtp.ferdyx.org ([127.0.0.1]) by localhost (tungsteno [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 06330-05; Fri, 28 Apr 2006 23:56:19 +0200 (CEST) Received: from posidon.ferdyx.org (posidon.ferdyx.org [192.168.0.2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.ferdyx.org (Postfix) with ESMTP id 95A878D34F; Fri, 28 Apr 2006 23:56:18 +0200 (CEST) Received: by posidon.ferdyx.org (nbSMTP-1.01-cvs) for uid 1000 (using TLSv1/SSLv3 with cipher DHE-RSA-AES256-SHA (256/256 bits)) ferdy@gentoo.org; Sat, 29 Apr 2006 00:06:30 +0200 (CEST) Date: Sat, 29 Apr 2006 00:06:29 +0200 From: "Fernando J. Pereda" To: Ryan Phillips , gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] Gentoo: State of the Union Message-ID: <20060428220629.GA13944@ferdyx.org> Mail-Followup-To: Ryan Phillips , gentoo-dev@lists.gentoo.org References: <20060428171453.GB62035@watcher.kimaker.com> <20060428185501.GA22506@dst.grantgoodyear.org> <20060428192434.GB22373@woodpecker.gentoo.org> <44527A01.3080506@gentoo.org> <20060428204240.GD63263@watcher.kimaker.com> <20060428210543.GC26082@ferdyx.org> <20060428212043.GF63263@watcher.kimaker.com> <20060428213622.GD26082@ferdyx.org> <20060428214918.GA65225@watcher.kimaker.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Reply-to: gentoo-dev@lists.gentoo.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="M9NhX3UHpAaciwkO" Content-Disposition: inline In-Reply-To: <20060428214918.GA65225@watcher.kimaker.com> User-Agent: Mutt/1.5.11 X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at ferdyx.org X-Archives-Salt: 1bd8b1e8-e70a-4b10-b81e-9f903dde994e X-Archives-Hash: 7f7ae5e95d7ba0b1fee74c07a2388ce1 --M9NhX3UHpAaciwkO Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Apr 28, 2006 at 02:49:18PM -0700, Ryan Phillips wrote: > the only option I saw was git-commit -o and you had to specify the > files that you wanted to commit. >=20 > I tried doing a git-commit paths/ and still everything wants to be > committed. >=20 > It isn't pretty. >=20 Uh, no... thats certainly not true for git-1.3 series, and I belive the behavior has been consistent since early february this year when the new commit semantics where introduced. See this: --- 8< --- [ $ ~/testy/gitty ] git init-db defaulting to local storage area [ $ ~/testy/gitty(master) ] echo something > a [ $ ~/testy/gitty(master) ] mkdir dir [ $ ~/testy/gitty(master) ] echo other thing > dir/b [ $ ~/testy/gitty(master) ] git add . [ $ ~/testy/gitty(master) ] git commit -m "initial import" Committing initial tree 6dc01ab7eb7f19983ae76e72ccb63e3e60aa2dc3 [ $ ~/testy/gitty(master) ] git status nothing to commit [ $ ~/testy/gitty(master) ] echo add something here >> dir/b [ $ ~/testy/gitty(master) ] echo something there >> a [ $ ~/testy/gitty(master) ] git status # # Changed but not updated: # (use git-update-index to mark for commit) # # modified: a # modified: dir/b # nothing to commit [ $ ~/testy/gitty(master) ] git commit -m "Only things in dir/?" dir/ [ $ ~/testy/gitty(master) ] git status # # Changed but not updated: # (use git-update-index to mark for commit) # # modified: a # nothing to commit [ $ ~/testy/gitty(master) ]=20 --- 8< --- It is the same even if you did 'git update-index a' before 'git commit -m ... dir/'. However that's something you won't do unless you know what you're doing :) Cheers, ferdy --=20 Fernando J. Pereda Garcimart=EDn Gentoo Developer (Alpha,net-mail,mutt,git) 20BB BDC3 761A 4781 E6ED ED0B 0A48 5B0C 60BD 28D4 --M9NhX3UHpAaciwkO Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux) iD8DBQFEUpHlCkhbDGC9KNQRAlJQAJ9m0oNK2jgtr2P99pnUKnXjQmVAqACfUMBK Oa8XER5uMFJdCA/wJJTZ5w0= =Bt2o -----END PGP SIGNATURE----- --M9NhX3UHpAaciwkO-- -- gentoo-dev@gentoo.org mailing list