[Top][All Lists]

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

Re: master bdda935 2/2: Merge branch 'master' of git.savannah.gnu.org:/s

From: Madhu
Subject: Re: master bdda935 2/2: Merge branch 'master' of git.savannah.gnu.org:/srv/git/emacs
Date: Wed, 19 Aug 2020 10:46:49 +0530

* Stefan Monnier <jwvsgcj6gve.fsf-monnier+emacs@gnu.org> :
Wrote on Tue, 18 Aug 2020 12:48:27 -0400:

> The question then becomes: how does Magit do that?  (or does it come
> with the same caveats that I mentioned regarding execution time,
> treatment of non-committed changes, the set of files whose mtime is
> affected, ...)

to preserve mtimes

git branch #=> mybranch
git-new-workdir.sh . /dev/shm/emacs
cd /dev/shm/emacs; git checkout master; git pull
git rebase master mybranch
cd -
git checkout -f mybranch  # touches only new files.
rm -rf /dev/shm/emacs

reply via email to

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