From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nix Newsgroups: gmane.emacs.devel Subject: Re: Move to git is imminent - awaiting Stefan's approval Date: Sat, 11 Jan 2014 22:34:15 +0000 Message-ID: <87ob3ijggo.fsf@spindle.srvr.nix> References: <52CB2AB0.4080505@alice.it> <871u0kvhv4.fsf@fencepost.gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1389479675 23395 80.91.229.3 (11 Jan 2014 22:34:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 11 Jan 2014 22:34:35 +0000 (UTC) Cc: emacs-devel@gnu.org To: David Kastrup Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jan 11 23:34:41 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1W278b-0002Xo-Ft for ged-emacs-devel@m.gmane.org; Sat, 11 Jan 2014 23:34:41 +0100 Original-Received: from localhost ([::1]:35735 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W278b-0000ss-2m for ged-emacs-devel@m.gmane.org; Sat, 11 Jan 2014 17:34:41 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60627) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W278T-0000sN-Pp for emacs-devel@gnu.org; Sat, 11 Jan 2014 17:34:39 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W278N-0005HI-Pj for emacs-devel@gnu.org; Sat, 11 Jan 2014 17:34:33 -0500 Original-Received: from icebox.esperi.org.uk ([81.187.191.129]:47528 helo=mail.esperi.org.uk) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W278D-0005FX-DF; Sat, 11 Jan 2014 17:34:17 -0500 Original-Received: from spindle.srvr.nix (nix@spindle.srvr.nix [192.168.14.15]) by mail.esperi.org.uk (8.14.7/8.14.7) with ESMTP id s0BMYFoj015490; Sat, 11 Jan 2014 22:34:15 GMT Emacs: ballast for RAM. In-Reply-To: <871u0kvhv4.fsf@fencepost.gnu.org> (David Kastrup's message of "Mon, 06 Jan 2014 23:57:19 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-DCC-STAT_FI_X86_64_VIRTUAL-Metrics: spindle 1245; Body=2 Fuz1=2 Fuz2=2 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 81.187.191.129 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:168130 Archived-At: On 6 Jan 2014, David Kastrup stated: > The commit ids are unique. It's usually easiest to quote the entire > SHA128 via copy&paste, but the first 16 digits or so are usually > sufficient. You can just use 'git log --abbrev-commit' to get commit IDs abbreviated (enough for nonambiguity and no further). If you want to enable this forever, git 1.7.6+ lets you say git config log.abbrevCommit true (add --global or --system to make it apply to all repositories for this user, or all repositories on the system, respectively). > In addition, once you have a local repository, something like > > git clone existing_workdir new_workdir > > will do the cloning by using hard links, taking almost no time and no > space. I often do that for one-off testing of stuff while my "main" > workdir is busy compiling stuff. In addition in addition, git-new-workdir (a script in git's contrib/ directory, likely to be installed by default eventually in some form or other) will let you check out more than one branch at once on the same repository. -- NULL && (void)