bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#26309: 24.4; vc-git-register doesn't run interactively


From: Noam Postavsky
Subject: bug#26309: 24.4; vc-git-register doesn't run interactively
Date: Thu, 30 Mar 2017 10:50:18 -0400

On Thu, Mar 30, 2017 at 10:30 AM, Łukasz Stelmach
<address@hidden> wrote:
>>
>> VC doesn't use the git index, so there is no need to update it.
>
> Does it mean that before commiting (with vc) all files "git status"
> shows as modified would be added to index automatically?

vc-git-checkin uses the '-a' switch.

https://www.kernel.org/pub/software/scm/git/docs/git-commit.html

    -a
    --all

        Tell the command to automatically stage files that have been
        modified and deleted, but new files you have not told Git
        about are not affected.

>
> Anyway, I like to "git add" files I am working with from time to time.

If you don't use other vc systems, you might be happier with a
git-specific Emacs frontend like magit (https://magit.vc/)





reply via email to

[Prev in Thread] Current Thread [Next in Thread]