Thread (1 message) 1 message, 1 author, 2016-06-15

Re: One question about git-format-patch

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:58:13

I’m a git user, and recently I’ve noticed there’re some differences between
“$ git format-patch –n” and “$ git format-patch HEAD~n”. According to the
documentation: “-<n> Prepare patches from the topmost <n> commits.”
Correct.  However, HEAD~n will prepare patches for commits that are
not ancestor of HEAD~n.

And there may well be a lot more than n such commits, unless you are
working on a strictly linear history.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help