From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: master 4a49c50a4c3 1/2: VC Git: Use vc-deduce-fileset to determine what to stash Date: Tue, 29 Oct 2024 14:21:15 +0200 Message-ID: <865xpb6qx0.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18833"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Sean Whitton Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Oct 29 13:22:24 2024 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1t5lEu-0004hV-01 for ged-emacs-devel@m.gmane-mx.org; Tue, 29 Oct 2024 13:22:24 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t5lDz-0005F9-OT; Tue, 29 Oct 2024 08:21:28 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t5lDr-0005Em-6P for emacs-devel@gnu.org; Tue, 29 Oct 2024 08:21:20 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t5lDq-0008Te-Kg; Tue, 29 Oct 2024 08:21:18 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=Subject:To:From:Date:mime-version:in-reply-to: references; bh=1qI7eeyS1MHRp5X7WpHw07J/CM4RuVukt9s8d2MDxRE=; b=kCN5bLwhFthyv6 vqSxteZ8k5XMsB18nU4h8k5F1ge1wKygOEhhqPo6PRPotrjQVJ3tzZu1DigIA7I5QVjpfDszxqvij tMHf+WuMDSAGDpHRjpqnlb4kWtRS/caBZ8JDh9XG3Z2X2QiDXqXED85X0BkerYAVhOUGFox+7mnHp nzLF9jOU5VP306FZixE7Und1VFpauXOZGB1oThC6fe3IjQsnn/FDmnxn/bBmGgPMXmhbo7GVSwqYR OrliXzCa4WCpN25L2HC2npL7D0uogMOUybhIq2mpOco9wf9E1LdUAgCVGskUe76P/vau/Qep8iNSx 8tySuzUOvpYd8tMtRhbA==; X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:324907 Archived-At: > branch: master > commit 4a49c50a4c351503a94c223da05888e5fd3d4fa1 > Author: Sean Whitton > Commit: Sean Whitton > > VC Git: Use vc-deduce-fileset to determine what to stash > > * lisp/vc/vc-git.el (vc-git--deduce-files-for-stash): New function. > (vc-git-stash, vc-git-stash-snapshot): Use it to determine what > to stash. Update and expand docstrings. > (vc-git-stash-snapshot): No longer unconditionally snapshot all > uncommitted changes across the whole working tree. This apparently leads to: ELC vc/vc-git.elc In end of data: vc/vc-git.el:2188:12: Warning: the function `vc-deduce-fileset' might not be defined at runtime.