emacs-devel
[Top][All Lists]
Advanced

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

Re: Magit


From: Stefan Monnier
Subject: Re: Magit
Date: Sat, 03 Sep 2022 14:45:28 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

>> But even if we do make such an exception, having a copy of Magit in
>> `emacs.git` would add extra maintenance burden to keep that copy in sync
>> with the one maintained elsewhere.  So for administrative reasons, it's
>> probably preferable to keep it outside of `emacs.git`.
>
> I'm not sure I understand the objection.  Is it not just a question of
> popping something like this in a shell script that runs every N days:
>
>   git clone <MAGIT-URL> magit
>   cp magit/*.el lisp/magit
>   rm -rf magit
>   git commit -a -m "; Auto-update Magit"
>   git push

People can (and do) commit changes directly to `emacs.git`s `master`
branch and the above would silently revert such changes.  It also means
that the Magit files in `emacs.git` don't get a proper commit log
history, making it harder to track down and fix bugs.

I'm all for including more packages in Emacs, but not by copying them
into the `master` branch `emacs.git`.  I'd rather have a Git submodule
or some such mechanism.


        Stefan




reply via email to

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