From: Junio C Hamano <hidden> Date: 2016-06-15 22:46:28
Daniel Barkalow [off-list ref] writes:
quoted hunk
This simply configures the remote to use a transport that doesn't have
any methods at all and is therefore unable to do anything yet.
Signed-off-by: Daniel Barkalow <redacted>
---
Documentation/config.txt | 4 ++++
remote.c | 2 ++
remote.h | 2 ++
transport.c | 3 ++-
4 files changed, 10 insertions(+), 1 deletions(-)
@@ -1305,6 +1305,10 @@ remote.<name>.tagopt:: Setting this value to \--no-tags disables automatic tag following when fetching from remote <name>+remote.<name>.vcs::+ Setting this to a value <vcs> will cause git to interact with+ the remote with the git-vcs-<vcs> helper.+
From: Daniel Barkalow <hidden> Date: 2016-06-15 22:46:28
On Tue, 24 Mar 2009, Junio C Hamano wrote:
Daniel Barkalow [off-list ref] writes:
quoted
This simply configures the remote to use a transport that doesn't have
any methods at all and is therefore unable to do anything yet.
Signed-off-by: Daniel Barkalow <redacted>
---
Documentation/config.txt | 4 ++++
remote.c | 2 ++
remote.h | 2 ++
transport.c | 3 ++-
4 files changed, 10 insertions(+), 1 deletions(-)
I don't think I've ever tried writing an empty block for git before. It's
braces containing a semicolon and comment? (Of course, the reason I wrote
this one this way is so that the next patch could put two "+" lines in
there and have no "-" lines)
-Daniel
*This .sig left intentionally blank*
From: Junio C Hamano <hidden> Date: 2016-06-15 22:46:28
Daniel Barkalow [off-list ref] writes:
quoted
quoted
- if (!prefixcmp(url, "rsync:")) {
+ if (remote && remote->foreign_vcs) {
+ } else if (!prefixcmp(url, "rsync:")) {
if (...) {
; /* empty */
} else ...
I don't think I've ever tried writing an empty block for git before. It's
braces containing a semicolon and comment? (Of course, the reason I wrote
this one this way is so that the next patch could put two "+" lines in
there and have no "-" lines)
Wasn't a serious "this has to be the final style" suggestion, but more
about "what do you mean by this? are you going to add more code here in
the later round?" question.
From: Daniel Barkalow <hidden> Date: 2016-06-15 22:46:28
On Wed, 25 Mar 2009, Junio C Hamano wrote:
Daniel Barkalow [off-list ref] writes:
quoted
quoted
quoted
- if (!prefixcmp(url, "rsync:")) {
+ if (remote && remote->foreign_vcs) {
+ } else if (!prefixcmp(url, "rsync:")) {
if (...) {
; /* empty */
} else ...
I don't think I've ever tried writing an empty block for git before. It's
braces containing a semicolon and comment? (Of course, the reason I wrote
this one this way is so that the next patch could put two "+" lines in
there and have no "-" lines)
Wasn't a serious "this has to be the final style" suggestion, but more
about "what do you mean by this? are you going to add more code here in
the later round?" question.
Ah, yes, I do intend to add code there subsequently, and this is just a
placeholder so that it returns a correctly-constructed struct which
doesn't support any operations until those operations are added.
-Daniel
*This .sig left intentionally blank*