summaryrefslogtreecommitdiff
path: root/transport.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2010-02-21 12:01:03 -0800
committerJunio C Hamano <gitster@pobox.com>2010-02-21 12:01:03 -0800
commitcab1b013e6f7cc52806926a792c6798f4c7ac4be (patch)
tree83f6255c8b7fd2beb7abd2c356eb655509ef988c /transport.h
parentdb3df36a3d2e222fa8469c16724a74192c5529a0 (diff)
parentb0d66e156c5b312d468344569202d8ca4094f67f (diff)
downloadgit-cab1b013e6f7cc52806926a792c6798f4c7ac4be.tar.gz
Merge branch 'tc/maint-transport-ls-remote-with-void'
* tc/maint-transport-ls-remote-with-void: transport: add got_remote_refs flag
Diffstat (limited to 'transport.h')
-rw-r--r--transport.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/transport.h b/transport.h
index 7cea5cc723..6dd9ae182f 100644
--- a/transport.h
+++ b/transport.h
@@ -20,6 +20,12 @@ struct transport {
const struct ref *remote_refs;
/**
+ * Indicates whether we already called get_refs_list(); set by
+ * transport.c::transport_get_remote_refs().
+ */
+ unsigned got_remote_refs : 1;
+
+ /**
* Returns 0 if successful, positive if the option is not
* recognized or is inapplicable, and negative if the option
* is applicable but the value is invalid.