From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Jonathan Ganc Newsgroups: gmane.emacs.bugs Subject: bug#26066: 26.0.50; vc-git-status gives wrong result Date: Mon, 10 Apr 2017 00:43:35 -0400 Message-ID: <60e28ad2-a875-617d-5a8d-5e17caab21fd@gmail.com> References: <9bf82bf1-fefa-ab84-bac1-cf748ae5ccfb@gmail.com> <87efxy59wx.fsf@users.sourceforge.net> <0d87686b-c7d2-deab-ebe4-ab1c8aa4faca@yandex.ru> <29d4a5ae-0ca0-3a86-6b9a-ab616803f39e@gmail.com> <4741bddf-9765-0d94-d0cd-b94e3e4914e1@yandex.ru> <8530cd03-0158-f198-9b14-ade983e1c7f4@gmail.com> <022c0e0a-e039-24ef-66ff-82bcedbacd93@yandex.ru> <7fccafd3-e2c2-204a-05a0-a930a4cbb7e4@gmail.com> <85978a9c-8b2f-484b-1330-be915fe05085@yandex.ru> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1491799451 32394 195.159.176.226 (10 Apr 2017 04:44:11 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 10 Apr 2017 04:44:11 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 To: Dmitry Gutov , npostavs@users.sourceforge.net, 26066@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Apr 10 06:44:07 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1cxRBP-0008LM-Hs for geb-bug-gnu-emacs@m.gmane.org; Mon, 10 Apr 2017 06:44:07 +0200 Original-Received: from localhost ([::1]:60555 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cxRBV-0002yJ-DY for geb-bug-gnu-emacs@m.gmane.org; Mon, 10 Apr 2017 00:44:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34002) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cxRBN-0002yB-6H for bug-gnu-emacs@gnu.org; Mon, 10 Apr 2017 00:44:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cxRBK-0002Dz-2x for bug-gnu-emacs@gnu.org; Mon, 10 Apr 2017 00:44:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:42229) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cxRBJ-0002Dt-Uo for bug-gnu-emacs@gnu.org; Mon, 10 Apr 2017 00:44:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cxRBJ-0001q8-Ja for bug-gnu-emacs@gnu.org; Mon, 10 Apr 2017 00:44:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Jonathan Ganc Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 10 Apr 2017 04:44:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 26066 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 26066-submit@debbugs.gnu.org id=B26066.14917994237041 (code B ref 26066); Mon, 10 Apr 2017 04:44:01 +0000 Original-Received: (at 26066) by debbugs.gnu.org; 10 Apr 2017 04:43:43 +0000 Original-Received: from localhost ([127.0.0.1]:40428 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cxRB0-0001pV-Te for submit@debbugs.gnu.org; Mon, 10 Apr 2017 00:43:43 -0400 Original-Received: from mail-qt0-f194.google.com ([209.85.216.194]:32877) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cxRAz-0001pJ-Um for 26066@debbugs.gnu.org; Mon, 10 Apr 2017 00:43:42 -0400 Original-Received: by mail-qt0-f194.google.com with SMTP id c45so9047758qtb.0 for <26066@debbugs.gnu.org>; Sun, 09 Apr 2017 21:43:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding; bh=gxUiXPBGze4QOoXWPgNyZg66/AiXKPpM8l8kurLS1j8=; b=qAEKniaB0xGAMw+a5EJzp3Sagz0i2GlAuvngX327qASCnzL/7pxY4l1QQQxv180khD 1HQRR2Hmm+t0RY5xgQ0lkEiDNn4ZU0DoUu5KP0JPXay3u5mtEsPu5OEsOouNhXNCtWdf O6zbuxsQcrEAJ5RrF/GfEeutNxA/W0pQ5legkIzx/nVP0nONaZ8AWpgxW9uzFZUpVIvJ IWYU00fgtcmwuGc7k/DeM6+umbiA2OioA524Mb/ftbxCBkAAoodTy0s+i9cEoM/k2ta5 VS1ZBj7c83KYfVbrK6gyBJAHN9wTaCV9aC2cwZmP2fvfcbRgYKBPjcnN5v6OXNNwrTgo f1fg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=gxUiXPBGze4QOoXWPgNyZg66/AiXKPpM8l8kurLS1j8=; b=FYb3TlY95aLUR3vTcMiyBPU5e7+ZENui+r1lZ47oeyFwTXAyWR3ZpPngkzCbFVlY9A 9dZvZof2z+TWySO9eTSJVoIWYTyH6ZmOFc00fBDsNs8wz+39LUBcnSYOqyeZOsA0kv7D uof+R8Gd4y0nlo05M4fYIRt/9Ct539XeuP0znjwtKMRETMvFb0jaKSWiYu50fzLWqKJs CQzwUhrPPcF8SV+8GQPoqV7zVDmxXyTfizcMttVbRTQeIH0L2/eI0lh4SQC1AZw1iYqt 0CSrLVIthdIfD+o6Dv/YOjcT5gPvaiq2XOJR1iVs31ZsHLajUascfQDH3qiHEIdQ3LXZ n2Bw== X-Gm-Message-State: AN3rC/5uxHzrv9bupfI0tJUGuKLT+XPQ2sqdcEf2mDL2UIj3u98R1U6ydrux+V5RMH6oyw== X-Received: by 10.200.53.202 with SMTP id l10mr5232945qtb.133.1491799416607; Sun, 09 Apr 2017 21:43:36 -0700 (PDT) Original-Received: from [192.168.1.200] (static-98-118-34-152.bstnma.fios.verizon.net. [98.118.34.152]) by smtp.gmail.com with ESMTPSA id s3sm8096500qte.57.2017.04.09.21.43.35 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 09 Apr 2017 21:43:36 -0700 (PDT) In-Reply-To: <85978a9c-8b2f-484b-1330-be915fe05085@yandex.ru> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:131434 Archived-At: BTW, Dmitry, I've started using Diff-Hl and it's really nice! On 04/09/2017 11:26 PM, Dmitry Gutov wrote: > On 31.03.2017 06:16, Jonathan Ganc wrote: >> + (save-match-data >> + (let* ((default-directory (file-name-directory (expand-file-name >> file))) > > We don't require or expect that any particular function keeps the > match data intact. I don't think that save-match-data is needed here. > > Aside from this an Noam's comments, the patch is long enough to > require a copyright assignment. I didn't find yours on file. > > Will you sign one?