From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.devel Subject: Re: vc-git-log-incoming Date: Wed, 02 Jun 2010 19:38:44 +0900 Message-ID: References: Reply-To: Miles Bader NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1275475147 3831 80.91.229.12 (2 Jun 2010 10:39:07 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 2 Jun 2010 10:39:07 +0000 (UTC) Cc: emacs-devel@gnu.org To: Dan Nicolaescu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jun 02 12:39:05 2010 connect(): No such file or directory Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OJlLj-0000o2-Os for ged-emacs-devel@m.gmane.org; Wed, 02 Jun 2010 12:39:04 +0200 Original-Received: from localhost ([127.0.0.1]:59179 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OJlLj-0004Z2-0p for ged-emacs-devel@m.gmane.org; Wed, 02 Jun 2010 06:39:03 -0400 Original-Received: from [140.186.70.92] (port=60333 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OJlLb-0004Yp-42 for emacs-devel@gnu.org; Wed, 02 Jun 2010 06:38:56 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OJlLW-0006Ub-Cn for emacs-devel@gnu.org; Wed, 02 Jun 2010 06:38:55 -0400 Original-Received: from tyo201.gate.nec.co.jp ([202.32.8.193]:43193) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OJlLU-0006Tr-85; Wed, 02 Jun 2010 06:38:48 -0400 Original-Received: from mailgate3.nec.co.jp ([10.7.69.195]) by tyo201.gate.nec.co.jp (8.13.8/8.13.4) with ESMTP id o52AcjLY001133; Wed, 2 Jun 2010 19:38:45 +0900 (JST) Original-Received: (from root@localhost) by mailgate3.nec.co.jp (8.11.7/3.7W-MAILGATE-NEC) id o52AcjF15592; Wed, 2 Jun 2010 19:38:45 +0900 (JST) Original-Received: from relay31.aps.necel.com ([10.29.19.54]) by vgate01.nec.co.jp (8.11.7/3.7W-MAILSV-NEC) with ESMTP id o52Aci416145; Wed, 2 Jun 2010 19:38:44 +0900 (JST) Original-Received: from relay51.aps.necel.com ([10.29.19.40] [10.29.19.40]) by relay31.aps.necel.com with ESMTP; Wed, 2 Jun 2010 19:38:44 +0900 Original-Received: from dhlpc061 ([10.114.114.48] [10.114.114.48]) by relay51.aps.necel.com with ESMTP; Wed, 2 Jun 2010 19:38:44 +0900 Original-Received: by dhlpc061 (Postfix, from userid 31295) id 6E92152E1F3; Wed, 2 Jun 2010 19:38:44 +0900 (JST) System-Type: x86_64-unknown-linux-gnu Blat: Foop In-Reply-To: (Dan Nicolaescu's message of "Wed, 02 Jun 2010 05:23:07 -0400") Original-Lines: 14 X-detected-operating-system: by eggs.gnu.org: Solaris 8 (1) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:125450 Archived-At: Dan Nicolaescu writes: > This is the main problem... maybe vc-git-log-incoming can look for an > empty "git log" output, and offer to run "git fetch", and then rerun log... I think the most natural way would be to define vc-log-incoming so that it's allowed to have some "reasonable" side-effect, and then just always use "git fetch" first for git. This probably mirrors what users generally do anyway. -Miles -- Kilt, n. A costume sometimes worn by Scotchmen [sic] in America and Americans in Scotland.