Git: How to swap two files
How can I swap two files, keeping them marked so in the history?
(Except for doing it manually.)

I'd expect some flag for `git mv`, like,

    git mv --swap foo.txt bar.txt

which would produce

    # renamed:    foo.txt -> bar.txt
    # renamed:    bar.txt -> foo.txt

Is there support for this in git?
Git: How to swap two files
===

How can I swap two files, keeping them marked so in the history?
(Except for doing it manually.)

I'd expect some flag for `git mv`, like,

    git mv --swap foo.txt bar.txt

which would produce

    # renamed:    foo.txt -> bar.txt
    # renamed:    bar.txt -> foo.txt

Is there support for this in git?