Thread (63 messages) flat view 63 messages, 25 authors, 2016-06-15

Re: [1.8.0] forbid full fetchspecs in git-pull

From: Thomas Rast <hidden>
Date: 2016-06-15 22:50:29

Possibly related (same subject, not in this thread)

Dmitry Potapov wrote:
As to disallowing ':' in refspec completely, I am not so sure... Not
that I think it is very useful, but also I don't see how it can hurt
someone provided that the target branch cannot be the current branch.
IRC experience shows that people, while on some topic branch, run

  git pull origin master:master

expecting it to "pull master into master" (or even worse with three
different branch names).  So no, the current branch safeguard does
not prevent the fundamental mistake.

-- 
Thomas Rast
trast@{inf,student}.ethz.ch
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help