diff options
author | Carlos Martín Nieto <carlos@cmartin.tk> | 2011-08-04 15:07:55 +0400 |
---|---|---|
committer | Vicent Marti <tanoku@gmail.com> | 2011-08-18 04:34:08 +0400 |
commit | e1d88030687b2ccd652cfedd97714fb37367bbf9 (patch) | |
tree | 57b33e70540666ebc38e12a16b7de7ff23cb00ab /src/fetch.h | |
parent | 44daec422950e0227a863021b6bf4fb8554b6c9c (diff) |
Don't expose the fetch code to the user
Move the generation of the want-list to be done from the negotiate
function, and keep the filtered references inside the remote
structure.
Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk>
Diffstat (limited to 'src/fetch.h')
-rw-r--r-- | src/fetch.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/fetch.h b/src/fetch.h new file mode 100644 index 000000000..2856f12ee --- /dev/null +++ b/src/fetch.h @@ -0,0 +1,6 @@ +#ifndef INCLUDE_fetch_h__ +#define INCLUDE_fetch_h__ + +int git_fetch_negotiate(git_remote *remote); + +#endif |