From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 837CD138334 for ; Sat, 7 Dec 2019 09:46:29 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 00D88E0887; Sat, 7 Dec 2019 09:46:25 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4F43FE0872 for ; Sat, 7 Dec 2019 09:46:24 +0000 (UTC) Received: from katipo2.lan (unknown [203.86.205.69]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: kentnl) by smtp.gentoo.org (Postfix) with ESMTPSA id C89B534D866 for ; Sat, 7 Dec 2019 09:46:22 +0000 (UTC) Date: Sat, 7 Dec 2019 22:46:13 +1300 From: Kent Fredric To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] [PATCH] package.deprecated: Create initial template Message-ID: <20191207224613.365c5984@katipo2.lan> In-Reply-To: <2cf18040c81c4eb0afbbf3282bacb150c80b572f.camel@gentoo.org> References: <20191205160957.576971-1-mgorny@gentoo.org> <067cc5678d1eb4a3445bdf7beefe8c055307eeb4.camel@gentoo.org> <31d2646b48bc35d02ca2a7a0b9db7b634d5b0ef0.camel@gentoo.org> <20191206082325.GA5714@sumac.radhermit.com> <2cf18040c81c4eb0afbbf3282bacb150c80b572f.camel@gentoo.org> Organization: Gentoo X-Mailer: Claws Mail 3.17.4 (GTK+ 2.24.32; x86_64-pc-linux-gnu) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/EIondvzcwl0fr5h0BKk7jrB"; protocol="application/pgp-signature"; micalg=pgp-sha256 X-Archives-Salt: 537d7ed1-ba49-4969-a6a9-f5054dc25d84 X-Archives-Hash: db47dc0ab0907860e10c231cacb1f442 --Sig_/EIondvzcwl0fr5h0BKk7jrB Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Fri, 06 Dec 2019 10:03:23 +0100 Alexis Ballier wrote: > (*) and force the use of some handy git options like only commit paths > starting from cwd even if other files had been git added, which i never > remember what is the git cli option for this There isn't so much a CLI option, more, there's a parameter that "git commit" takes which allows you to enumerate which paths to commit. So: git commit Commits everything staged. git commit . Commits only CWD But, with one important caveat: git commit Will only commit changes previously added with "git add" or whatever to the index. git commit . Will commit *any* changes to anything in "." as long as they're "tracked" by git. But this is what repoman does anyway ;) The doc line for this in "git help commit" is: 3. by listing files as arguments to the commit command (without --interactive or --patch switch), in which case the commit will ignore changes staged in the index, and instead record the current content of the listed files (which must already be known to Git); --Sig_/EIondvzcwl0fr5h0BKk7jrB Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEgdrME8Lrmai3DXYJda6SGagVg7UFAl3rdOUACgkQda6SGagV g7VoKxAAiDyuwNkn1l1iWiHwrxXse0ntNZjLCD36cYyLpZHJJ9qU5f+usebfVCQN IcDRr9P5tfoRk/gqWqGjspSXTTODc89TZm/D/Vbot+PMDAS1jPhUEBa0HSolH9c1 sZLXzJcHgTJtzte3qi/JY1Jc2101aWvZY/BzmuR3pTK7s0FShhOpPUAfCKC1EMMZ 9XE+7smqMpIyWk2Uwiuk72JpNR3vqEVf0+dgW+cyUMaF1Mk0Z6YXLq8zuSDsxgP0 Zs+aIKIbdWhCJ68K2UyzzgM+MPfqXrKvWzDXibPxnRc/nKVSXr1maS+XfiP57FYh VIo+6+BK9VR4SSFy5797BiWTGmN86anCuZHJ+zoN6wBg7IfpEaidn+fyH9/no5Sa Uy0cy0aTt8hjcgHuSmc7D5AHpWHI/LsQn9saA27GFPALPhLw5NrVbQVZq4hq/Snv uGz6UF6WxLY9ILlmDE6VLqGEyGhu3SAEOYQntQzfB+wwLJFvpc7nqcWAWXsDLAi1 0skfXsiiX0EGb7T0xd5EkPThIl57DuwmkRFr55G4PDVEl1xM1KX3uird5Gv37FrL 0JKUdKDGYYB9e8RxquIjOzlDHe7jyLA0IDHZZBpGbLj9ms5p48XV+WjTo6y/cIJi xpR5PzAiG528Sk0WNYuFbbPcfIzeSgw33DAzv1X/EdTN3FzTSwg= =rCWO -----END PGP SIGNATURE----- --Sig_/EIondvzcwl0fr5h0BKk7jrB--