From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Steinar Bang Newsgroups: gmane.emacs.devel Subject: Re: VC mode and git Date: Wed, 25 Mar 2015 10:48:57 +0100 Organization: Probably a good idea Message-ID: References: <86egoeusg2.fsf@example.com> <83pp7yp5po.fsf@gnu.org> <86sicte9j3.fsf@example.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1427276947 3694 80.91.229.3 (25 Mar 2015 09:49:07 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 25 Mar 2015 09:49:07 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Mar 25 10:48:55 2015 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 1Yahvi-0007nX-Ga for ged-emacs-devel@m.gmane.org; Wed, 25 Mar 2015 10:48:54 +0100 Original-Received: from localhost ([::1]:37210 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yahvh-0005CA-Sv for ged-emacs-devel@m.gmane.org; Wed, 25 Mar 2015 05:48:53 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46047) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yahvd-00059B-RP for emacs-devel@gnu.org; Wed, 25 Mar 2015 05:48:50 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YahvX-0005cb-UM for emacs-devel@gnu.org; Wed, 25 Mar 2015 05:48:49 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:56420) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YahvX-0005cT-N4 for emacs-devel@gnu.org; Wed, 25 Mar 2015 05:48:43 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1YahvT-0007eV-2L for emacs-devel@gnu.org; Wed, 25 Mar 2015 10:48:39 +0100 Original-Received: from rainey.bang.priv.no ([212.110.185.190]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 25 Mar 2015 10:48:39 +0100 Original-Received: from sb by rainey.bang.priv.no with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 25 Mar 2015 10:48:39 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: emacs-devel@gnu.org Original-Lines: 28 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: rainey.bang.priv.no Mail-Copies-To: never User-Agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/24.4 (windows-nt) Cancel-Lock: sha1:OOMPasQKKTVsywHgtcsHQoFXbvg= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 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:184210 Archived-At: >>>>> Steinar Bang : >>>>> Sebastien Vauban : >> Why that difference? Why not committing multiple files with `vc-dir'? > Because I started using magit a long time ago, I can't remember if > vc-dir existed then, and if I tried it, but if I did I settled on magit. So I tried vc-dir now, some first impressions: - Key bindings are similar to magit, my fingers didn't need much re-training - vc-git seems faster than magit - vc-git doesn't group files in the way that magit does (ie. "Untracked", "Unstaged" and "Staged"), and I think I like magit's way better (vc-git is more similar to the way pcl-cvs and svn-status operated) - vc-git operates on the directory it's run, while magit skips up to the directory containing the .git directory and runs for there, and since I use magit-status as a way to look at the current status and move up to the top directory, the magit way works better for me (especially on Java projects, where 'M-x magit-status RET' updates the magit status and takes me to the top where I can use 'M-x compile' to do "mvn clean install") - The way vc-git shows the diffs for the commits in the commit list was a bit annoying: they are shown inline, and I couldn't figure out a way to close them. magit opens the diff in a new buffer, and that buffer can be exited with 'q', and I like the magit way better here also