[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: git history tracking across renames (and emacs support)
From: |
Robert Pluim |
Subject: |
Re: git history tracking across renames (and emacs support) |
Date: |
Fri, 13 Jul 2018 10:18:44 +0200 |
Stefan Monnier <address@hidden> writes:
>>> Generate the diff and then use `C-x 4 A` from the diff.
>>> It should be fairly easy to combine the two into a single command.
>> ...but this doesnʼt.
>
> You meant `C-x 4 A` doesn't work (if so, why not), or combining the two
> into a single command doesn't (if so, it probably depends on how you
> did it)?
C-x 4 A doesnʼt work from a magit diff buffer that contains changes
for multiple files, it creates a ChangeLog entry for whichever file
entry point happens to be in. So I would need to do M-! git diff M-x
diff-mode C-x 4 A. That could be made into a single command, but if
C-x 4 A understood magit diffs, then you'd get complete control over
the content of the diff (staged, unstaged, commit, etc).
Regards
Robert
- Re: [PATCH] New option to make C-x 4 a use file-less ChangeLog buffers (was Re: git history tracking across renames (and emacs support)), (continued)
- Re: [PATCH] New option to make C-x 4 a use file-less ChangeLog buffers (was Re: git history tracking across renames (and emacs support)), Eli Zaretskii, 2018/07/21
- Re: git history tracking across renames (and emacs support), Stefan Monnier, 2018/07/12
- Re: git history tracking across renames (and emacs support), Basil L. Contovounesios, 2018/07/12
- Re: git history tracking across renames (and emacs support), Stefan Monnier, 2018/07/12
- Re: git history tracking across renames (and emacs support), Robert Pluim, 2018/07/12
- Re: git history tracking across renames (and emacs support), Stefan Monnier, 2018/07/12
- Re: git history tracking across renames (and emacs support), Robert Pluim, 2018/07/12
- Re: git history tracking across renames (and emacs support), Stefan Monnier, 2018/07/12
- Re: git history tracking across renames (and emacs support), Robert Pluim, 2018/07/12
- Re: git history tracking across renames (and emacs support), Stefan Monnier, 2018/07/12
- Re: git history tracking across renames (and emacs support),
Robert Pluim <=
- Re: git history tracking across renames (and emacs support), Stefan Monnier, 2018/07/13
- Re: git history tracking across renames (and emacs support), Robert Pluim, 2018/07/13
- Re: git history tracking across renames (and emacs support), Clément Pit-Claudel, 2018/07/13
- Re: git history tracking across renames (and emacs support), Stefan Monnier, 2018/07/13
- Re: git history tracking across renames (and emacs support), João Távora, 2018/07/12
- Re: git history tracking across renames (and emacs support), Stefan Monnier, 2018/07/12
- Re: git history tracking across renames (and emacs support), João Távora, 2018/07/12
- Re: git history tracking across renames (and emacs support), Stefan Monnier, 2018/07/13
- Re: git history tracking across renames (and emacs support), João Távora, 2018/07/13
- Re: git history tracking across renames (and emacs support), Stefan Monnier, 2018/07/13