• Kyle Meyer's avatar
    magit-reverse-files: Guard against empty section list · c7bbe3e9
    Kyle Meyer authored
    magit-reverse-files removes binary files from `sections', so it may
    end up nil.  At the time this code was introduced, passing nil to
    magit-reverse-apply wasn't an issue, but it leads to a type error in
    magit-apply-patch since ddce6ce4 (sections: Use oref instead of
    dedicated slot accessors, 2018-01-17).
    
    Note: magit-discard-files--discard performs a similar removal of
    binary files, but it doesn't lead to a type error because it already
    guards against the nil case.
    c7bbe3e9
Name
Last commit
Last update
.github Loading commit data...
Documentation Loading commit data...
lisp Loading commit data...
t Loading commit data...
.dir-locals.el Loading commit data...
.gitignore Loading commit data...
.mailmap Loading commit data...
.travis.yml Loading commit data...
LICENSE Loading commit data...
Makefile Loading commit data...
README.md Loading commit data...
RelNotes Loading commit data...
default.mk Loading commit data...