I have the following git alias
[alias]
remaster = !"git checkout $1 & git diff-tree -r --patch --diff-filter=DM $1..master"
When using the above command by hand I get the following stdout:
$ git diff-tree -r --patch development..master --diff-filter=DM
diff --git a/subfolder/subfile.exe b/subfolder/subfile.exe
deleted file mode 100644
index e69de29..0000000
diff --git a/virus.exe b/virus.exe
deleted file mode 100644
index e69de29..0000000
When using the alias the output is not available therefore I cannot use it to patch:
$ git remaster development