From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Yuri Khan Newsgroups: gmane.emacs.devel Subject: Re: git-handler.el Date: Sun, 13 Aug 2017 22:08:55 +0700 Message-ID: References: <87eftk9uxe.fsf@bernoul.li> <87zic7ze06.fsf_-_@detlef> <87d192aold.fsf@bernoul.li> <87o9rmiems.fsf@detlef> <877ey9cb9l.fsf@bernoul.li> <87inhstx2y.fsf@detlef> <87wp67suba.fsf@detlef> <83a833ilnl.fsf@gnu.org> 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 1502636974 4959 195.159.176.226 (13 Aug 2017 15:09:34 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 13 Aug 2017 15:09:34 +0000 (UTC) Cc: Emacs developers , Jonas Bernoulli , Michael Albinus , Dmitry Gutov To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Aug 13 17:09:27 2017 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 1dguW2-0000Zo-A7 for ged-emacs-devel@m.gmane.org; Sun, 13 Aug 2017 17:09:22 +0200 Original-Received: from localhost ([::1]:59356 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dguW8-0003am-2p for ged-emacs-devel@m.gmane.org; Sun, 13 Aug 2017 11:09:28 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51847) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dguVz-0003a0-KC for emacs-devel@gnu.org; Sun, 13 Aug 2017 11:09:21 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dguVy-00022X-Hx for emacs-devel@gnu.org; Sun, 13 Aug 2017 11:09:19 -0400 Original-Received: from mail-it0-x230.google.com ([2607:f8b0:4001:c0b::230]:36823) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dguVw-00021w-TL; Sun, 13 Aug 2017 11:09:17 -0400 Original-Received: by mail-it0-x230.google.com with SMTP id 77so12410821itj.1; Sun, 13 Aug 2017 08:09:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-transfer-encoding; bh=iaGVKW5IA0Cl3TtjEo6cHqvuavORqUFEtKqD4vnKqSE=; b=axQnSJNisdOqUlN+pkbXnEztYTdeptU4m67F2qvHBu/9h5NhEuWqLmkOcJNRS6xhqU lPQPaHq2MliLbC8U+vXCcrP3vu+WJiAq5Veo5nJCcflGFC7cju4ZVV7LqD8haiBVThmA JP8wXKqhcxvNI71Fuu/7S4mEuHOAMY8Fjuse3icdEJqcFWHB8aSSmE7JapVu9CFyIk0+ 84Vj/5J0V/G/8xaawsWnbF/txm4sc13Tr+WzKYEoChYcKML0QXqvZwuboi4WoXL0LeXe UzAxv8GiUJIHpkilLWDhN32zO9blK8kGeFc509geHmyN+5vcLEnfejMfAPHoDBm+HvBz kjCA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc:content-transfer-encoding; bh=iaGVKW5IA0Cl3TtjEo6cHqvuavORqUFEtKqD4vnKqSE=; b=NKJ5iLbBRf3GZ2FHkrTIlSDMuQMJCI0uZMcmHawJYZEXOxiadQPRHMwCVZFA4h7Pon PJMxZJEpLoga6ngNq0yejqkkpZXRv5TEVXFLE92bF1yfx62QtsUfIYWq8vT/70Yoo3ly qg2WTUoP3hjR6321nx+gMhYWoS7dnDpwWPT39u2SFOjwMdIKqzxht3IDEnBufzevk7PG XrS+V5YpRmbTMRJ2R6dPSvg2ZK1oYW2oxDQv8Z5JOcbiJvGxnFyw89FVRSnXaL4rweGG A+EzLfh/+uBON0yKPQEELyjig+AH4XmBfl5PlLCnCzDlp/fqLwpdo6EnvMcSkUeNy9eT zBPQ== X-Gm-Message-State: AHYfb5gtXe+tf/kHTq8d9wq9r1cpX1ge4a0UQ95bHiYmur0i/cCwW2xA UjfzNkSJCPx4DJZ/w4316fIH1VmuEQ== X-Received: by 10.36.122.70 with SMTP id a67mr3325546itc.147.1502636956064; Sun, 13 Aug 2017 08:09:16 -0700 (PDT) Original-Received: by 10.79.144.208 with HTTP; Sun, 13 Aug 2017 08:08:55 -0700 (PDT) In-Reply-To: <83a833ilnl.fsf@gnu.org> X-Google-Sender-Auth: AZrQO6JfpVS5sS1xzwFVpwyWYcE X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4001:c0b::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:217510 Archived-At: On Sun, Aug 13, 2017 at 9:31 PM, Eli Zaretskii wrote: >> >> As a Git user, I frequently want to >> >> browse the whole repository as of a specific revision. Use case: =E2= =80=9CTwo >> >> months ago, function foo was changed to call function bar. How did ba= r >> >> look at that point?=E2=80=9D >> > >> > You know, that function bar is declared in file baz.el. >> >> Not necessarily. It is today, but two months ago it could have resided >> in any of baz.el, quux.el or xyzzy.el. > > If you don't know its file, how will you find it? By trial and error. Find the directory at revision, L1: choose the next most probable file, look in there. Repeat from L1 until found. >> > So you could >> > inspect the revisions of baz.el by looking into directory >> > "/home/albinus/src/emacs/lisp/baz.el@@/master" (given you're intereste= d >> > in branch master). >> >> In the use case being discussed, I=E2=80=99m not interested in master. O= r, >> more specifically, not in its current position, and not in the whole >> set of its commits that modify baz.el. I am interested in one specific >> commit, say ef7a18a071, that does not modify baz.el. > > Then you should look inside src/emacs/lisp@@/ef7a18a071, I think. Why > is that a problem? I got the impression that, in the proposed scheme, @@ only shows files under that are modified by the commit . There is no problem for me if it shows *all* files under that existed at that .