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

Re: git push to a non-bare repository

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:43:00

"Shawn O. Pearce" [off-list ref] writes:
  git-diff $old $new | git-apply --index ?

If the patch does not apply, nothing gets updated.  If it does apply,
the index is also updated and stat data updated.
And if you are only checking then perhaps instead of --index
use --check, so that the actual updates are deferred?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help