• Masahiro Yamada's avatar
    Revert "patman: use -D option for git format-patch" · 8d3595a4
    Masahiro Yamada authored
    This reverts commit 19b4a336.
    
    Since that commit, patman generates useless patches for file removal;
    "git format -D" prints only the header but not the diff when deleting
    files, and "git am" always refuses such patches.
    
    The following is the quotation from "man git-format-patch":
    
      -D, --irreversible-delete
        Omit the preimage for deletes, i.e. print only the header but
        not the diff between the preimage and /dev/null. The resulting
        patch is not meant to be applied with patch nor git apply; this
        is solely for people who want to just concentrate on reviewing
        the text after the change. In addition, the output obviously
        lack enough information to apply such a patch in reverse, even
        manually, hence the name of the option.
    Signed-off-by: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
    Acked-by: default avatarSimon Glass <sjg@chromium.org>
    8d3595a4
Name
Last commit
Last update
..
.gitignore Loading commit data...
README Loading commit data...
__init__.py Loading commit data...
checkpatch.py Loading commit data...
command.py Loading commit data...
commit.py Loading commit data...
cros_subprocess.py Loading commit data...
get_maintainer.py Loading commit data...
gitutil.py Loading commit data...
patchstream.py Loading commit data...
patman Loading commit data...
patman.py Loading commit data...
project.py Loading commit data...
series.py Loading commit data...
settings.py Loading commit data...
setup.py Loading commit data...
terminal.py Loading commit data...
test.py Loading commit data...