From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Richard Copley Newsgroups: gmane.emacs.devel Subject: Re: vc-region-history: HG? Date: Tue, 16 Jan 2018 19:08:32 +0000 Message-ID: References: <873735lvz9.fsf@mat.ucm.es> <83k1whybb3.fsf@gnu.org> <87r2qphe2m.fsf@mat.ucm.es> <87wp0htzmz.fsf@telefonica.net> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1516129638 18952 195.159.176.226 (16 Jan 2018 19:07:18 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 16 Jan 2018 19:07:18 +0000 (UTC) Cc: Emacs Development To: oub@mat.ucm.es Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jan 16 20:07:13 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ebWZk-0004at-Nc for ged-emacs-devel@m.gmane.org; Tue, 16 Jan 2018 20:07:12 +0100 Original-Received: from localhost ([::1]:57325 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ebWbk-0000CU-2z for ged-emacs-devel@m.gmane.org; Tue, 16 Jan 2018 14:09:16 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43831) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ebWbZ-0000C4-BM for emacs-devel@gnu.org; Tue, 16 Jan 2018 14:09:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ebWbY-0008M2-6Q for emacs-devel@gnu.org; Tue, 16 Jan 2018 14:09:05 -0500 Original-Received: from mail-ot0-x230.google.com ([2607:f8b0:4003:c0f::230]:38649) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ebWbY-0008Lw-1S for emacs-devel@gnu.org; Tue, 16 Jan 2018 14:09:04 -0500 Original-Received: by mail-ot0-x230.google.com with SMTP id v5so4246417oth.5 for ; Tue, 16 Jan 2018 11:09:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=+E2WHJxvqi5EV1jWRPIQgzD1xk1xJut2YIcuM2x/U0w=; b=p2NkhrJ2MgTettePnty2YkroePbIPaiI5XRvRkDVTQSZHq8Vo2Z1AJhg9YOoa+icD5 B3eSIIaIMP6TO6RkhfgA1fgmvU1EcLDJKN/MchTeBvXMxQDwjcEZzO62sOocrJ9k/cqK SXW797vOrhJE7IkQ56pkAHQvELGb650DfGB52PABiee4l5BHKYtq7UK2e/eq0CvEWD4+ eq56jET0dvwY3veoyVuhMkw5S9vkQ8PUAHl+hqPhyjvp/mPCTvJJVspBQ/o7++uXd78G w31L1b4Rc4ZJi3sJI6VnTndSR6+AATSkuyljOieBCkcXl1TebGr2ytPotsSx0lNAV9/n +BKQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=+E2WHJxvqi5EV1jWRPIQgzD1xk1xJut2YIcuM2x/U0w=; b=O1I5PYBsroki6zXBjC3UrQKY/UOuzdEzV6S0NaBz9P7iEPzq8u2lPYn5VgKIqhYrZA C+n9eu+ZNXNI7kk//AiewL/A+HO9bQ9B7K0K02tH6w5/ACDWgAQ5WxWopU06OakQZzG2 RBYpIL0/nyAlyrEIvvhIO8VTztY38XhwIdOKqCnvJWcz8uDxhRkuZzbl6MaE2szmObTu wzXcqkbKYj4OKo1S1sL32RldNS6VpDpjMDkanry1ZHpS89URH/XBYuGVznLv3vN92/W7 beojE55pzLvg16CKFjMpLumQseTL1+UwOl9uCZU7kBQl4cLo7PqthIDWlMePejnn/rRx QweQ== X-Gm-Message-State: AKwxytfuGwTadZRwjNlSjtg+7qyzxWt8A3f/D3d3rvMAro1VoAi4VBfV wRw5ZjZ9cirjAHBJWyroT/n7hEUdHK0OPVf3tkk= X-Google-Smtp-Source: ACJfBosRUjKCZx4PHZihlVGN5eoPiz9hWlwseQ2A9njNgGC9hW+jT5GmjaDRRfS4fSoBa3FC8PCUm1WkhQ/3+igjVFM= X-Received: by 10.157.114.80 with SMTP id a16mr16365128otk.88.1516129743333; Tue, 16 Jan 2018 11:09:03 -0800 (PST) Original-Received: by 10.157.5.184 with HTTP; Tue, 16 Jan 2018 11:08:32 -0800 (PST) In-Reply-To: <87wp0htzmz.fsf@telefonica.net> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4003:c0f::230 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.emacs.devel:222026 Archived-At: On 16 January 2018 at 18:41, =C3=93scar Fuentes wrote: > Uwe Brauer writes: > >> But, what is the underlying git command? I tried to debug the function >> and couldn't figure it out. Uwe, To see the backend command, set 'vc-command-messages' to t before issuing a VC command in Emacs. For vc-command history the messages logged are: Running git --no-pager diff-index --exit-code -p HEAD -- Makefile.in in foreground... Running git --no-pager diff-index --exit-code -p HEAD -- Makefile.in...OK = =3D 0 Running git --no-pager log -p -L... . in background... done In this case I'm not sure that tells the whole story and I expect Emacs doe= s some of the work. I didn't put much effort into understanding the output bu= t perhaps it will give you a useful hint. > From vc-git-region-history: > > (vc-git-command buffer 'async nil "log" "-p" ;"--follow" ;FIXME: not supp= orted? > (format "-L%d,%d:%s" lfrom lto (file-relative-name file))= ) > > > lfrom and lto are line numbers.