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

Re: [PATCH 06/10] Change incorrect "remote branch" to "remote tracking branch" in C code

From: Jonathan Nieder <hidden>
Date: 2016-06-15 22:49:56

Matthieu Moy wrote:
I don't think any script would parse the last part of FETCH_HEAD,
which seems really to be meant as a comment
Yes, believable.
Jonathan Nieder [off-list ref] writes:
quoted
Is fmt-merge-msg affected?
No (that's why it's a separate patch. In case you missed my earlier
message: yes, the testsuite passes between the two).
I suspect the testsuite passing is only because the fmt-merge-msg
tests don't try "git fetch . remotes/foo/bar".

In modern times, "git merge" bypasses fmt-merge-msg with its own
code (as you probably noticed :)).
  In the process, we change "non-remote branch" to "branch outside
  the refs/remotes/ hierarchy" to avoid the ugly "non-remote-tracking
  branch". The new formulation actually corresponds to how the code
  detects this case (i.e. prefixcmp(refname, "refs/remotes")).
Sounds good.  Thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help