summaryrefslogtreecommitdiff
path: root/include/git2
diff options
context:
space:
mode:
Diffstat (limited to 'include/git2')
-rw-r--r--include/git2/pkt.h4
-rw-r--r--include/git2/types.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/include/git2/pkt.h b/include/git2/pkt.h
index 4a0767e27..680dcc618 100644
--- a/include/git2/pkt.h
+++ b/include/git2/pkt.h
@@ -28,7 +28,7 @@
enum git_pkt_type {
GIT_PKT_CMD,
GIT_PKT_FLUSH,
- GIT_PKT_HEAD,
+ GIT_PKT_REF,
GIT_PKT_HAVE,
};
@@ -45,7 +45,7 @@ struct git_pkt_cmd {
};
/* This is a pkt-line with some info in it */
-struct git_pkt_head {
+struct git_pkt_ref {
enum git_pkt_type type;
git_remote_head head;
};
diff --git a/include/git2/types.h b/include/git2/types.h
index 94f42db62..ef80435c4 100644
--- a/include/git2/types.h
+++ b/include/git2/types.h
@@ -186,7 +186,7 @@ typedef struct git_headarray git_headarray;
typedef enum git_pkt_type git_pkt_type;
typedef struct git_pkt git_pkt;
typedef struct git_pkt_cmd git_pkt_cmd;
-typedef struct git_pkt_head git_pkt_head;
+typedef struct git_pkt_ref git_pkt_ref;
/** @} */
GIT_END_DECL