Ben Straub 
							
						 
					 
					
						
						
						
						
							
						
						
							730df6d0f7 
							
						 
					 
					
						
						
							
							Include checkout options inline  
						
						
						
					 
					
						2013-01-02 13:43:54 -08:00 
						 
				 
			
				
					
						
							
							
								Ben Straub 
							
						 
					 
					
						
						
						
						
							
						
						
							0642c1431e 
							
						 
					 
					
						
						
							
							Move url to last place in parameter list  
						
						
						
					 
					
						2013-01-02 12:44:47 -08:00 
						 
				 
			
				
					
						
							
							
								Ben Straub 
							
						 
					 
					
						
						
						
						
							
						
						
							3de2256708 
							
						 
					 
					
						
						
							
							Fix warnings in example  
						
						
						
					 
					
						2012-12-27 11:12:14 -08:00 
						 
				 
			
				
					
						
							
							
								Ben Straub 
							
						 
					 
					
						
						
						
						
							
						
						
							69d1bd9125 
							
						 
					 
					
						
						
							
							Fix examples  
						
						
						
					 
					
						2012-12-21 15:30:46 -08:00 
						 
				 
			
				
					
						
							
							
								Ben Straub 
							
						 
					 
					
						
						
						
						
							
						
						
							29f27599ea 
							
						 
					 
					
						
						
							
							Rename remote creation APIs  
						
						... 
						
						
						
						git_remote_add -> git_remote_create
git_remote_new -> git_remote_create_inmemory 
						
					 
					
						2012-12-20 10:52:57 -08:00 
						 
				 
			
				
					
						
							
							
								Ben Straub 
							
						 
					 
					
						
						
						
						
							
						
						
							316bca697f 
							
						 
					 
					
						
						
							
							Fix clone sample  
						
						
						
					 
					
						2012-12-19 17:07:12 -08:00 
						 
				 
			
				
					
						
							
							
								Ben Straub 
							
						 
					 
					
						
						
						
						
							
						
						
							cc3e9b5af4 
							
						 
					 
					
						
						
							
							Make building samples more friendly  
						
						
						
					 
					
						2012-12-16 10:50:10 -08:00 
						 
				 
			
				
					
						
							
							
								Ben Straub 
							
						 
					 
					
						
						
						
						
							
						
						
							b9e7e2b4e1 
							
						 
					 
					
						
						
							
							Move non-options back out of options struct  
						
						
						
					 
					
						2012-12-14 13:46:45 -08:00 
						 
				 
			
				
					
						
							
							
								Ben Straub 
							
						 
					 
					
						
						
						
						
							
						
						
							0015b5875e 
							
						 
					 
					
						
						
							
							Deploy git_clone_options to network sample  
						
						
						
					 
					
						2012-12-14 13:18:06 -08:00 
						 
				 
			
				
					
						
							
							
								Ben Straub 
							
						 
					 
					
						
						
						
						
							
						
						
							2b10a2b0e8 
							
						 
					 
					
						
						
							
							Enable authenticated clones in network sample  
						
						
						
					 
					
						2012-12-13 11:47:14 -08:00 
						 
				 
			
				
					
						
							
							
								Ben Straub 
							
						 
					 
					
						
						
						
						
							
						
						
							24393ea6d3 
							
						 
					 
					
						
						
							
							Stop premature remote freeing when cloning  
						
						
						
					 
					
						2012-12-13 09:14:56 -08:00 
						 
				 
			
				
					
						
							
							
								Ben Straub 
							
						 
					 
					
						
						
						
						
							
						
						
							34c8c75433 
							
						 
					 
					
						
						
							
							Fix network example  
						
						
						
					 
					
						2012-12-13 08:54:23 -08:00 
						 
				 
			
				
					
						
							
							
								Ben Straub 
							
						 
					 
					
						
						
						
						
							
						
						
							9267ff586f 
							
						 
					 
					
						
						
							
							Deploy GIT_REMOTE_CALLBACKS_INIT  
						
						
						
					 
					
						2012-11-30 13:12:15 -08:00 
						 
				 
			
				
					
						
							
							
								Ben Straub 
							
						 
					 
					
						
						
						
						
							
						
						
							b81aa2f1de 
							
						 
					 
					
						
						
							
							Deploy GIT_CHECKOUT_OPTS_INIT  
						
						
						
					 
					
						2012-11-30 13:12:14 -08:00 
						 
				 
			
				
					
						
							
							
								Ben Straub 
							
						 
					 
					
						
						
						
						
							
						
						
							df705148ec 
							
						 
					 
					
						
						
							
							API updates for remote.h  
						
						... 
						
						
						
						Includes typedef for git_direction, and renames for
GIT_DIR_[FETCH|PUSH] to GIT_DIRECTION_(\1). 
						
					 
					
						2012-11-27 13:19:49 -08:00 
						 
				 
			
				
					
						
							
							
								Ben Straub 
							
						 
					 
					
						
						
						
						
							
						
						
							3f63cc9e6d 
							
						 
					 
					
						
						
							
							Examples: fix clone api  
						
						
						
					 
					
						2012-11-27 13:18:28 -08:00 
						 
				 
			
				
					
						
							
							
								Russell Belfer 
							
						 
					 
					
						
						
						
						
							
						
						
							0f3def715d 
							
						 
					 
					
						
						
							
							Fix various cross-platform build issues  
						
						... 
						
						
						
						This fixes a number of warnings and problems with cross-platform
builds.  Among other things, it's not safe to name a member of a
structure "strcmp" because that may be #defined. 
						
					 
					
						2012-11-09 13:52:07 -08:00 
						 
				 
			
				
					
						
							
							
								Ben Straub 
							
						 
					 
					
						
						
						
						
							
						
						
							1e3b8ed5cf 
							
						 
					 
					
						
						
							
							Remove 'bytes' param from git_remote_download  
						
						
						
					 
					
						2012-10-24 14:07:07 -07:00 
						 
				 
			
				
					
						
							
							
								Ben Straub 
							
						 
					 
					
						
						
						
						
							
						
						
							9762ad993d 
							
						 
					 
					
						
						
							
							Renaming: fix example  
						
						
						
					 
					
						2012-10-24 13:43:23 -07:00 
						 
				 
			
				
					
						
							
							
								Ben Straub 
							
						 
					 
					
						
						
						
						
							
						
						
							7d222e1312 
							
						 
					 
					
						
						
							
							Network progress: rename things  
						
						... 
						
						
						
						git_indexer_stats and friends -> git_transfer_progress*
Also made git_transfer_progress members more sanely
named. 
						
					 
					
						2012-10-24 13:29:14 -07:00 
						 
				 
			
				
					
						
							
							
								Ben Straub 
							
						 
					 
					
						
						
						
						
							
						
						
							2dae54a941 
							
						 
					 
					
						
						
							
							Improve clone sample's formatting  
						
						
						
					 
					
						2012-10-19 20:24:15 -07:00 
						 
				 
			
				
					
						
							
							
								Ben Straub 
							
						 
					 
					
						
						
						
						
							
						
						
							9c05c17b7a 
							
						 
					 
					
						
						
							
							Checkout progress now reports completed/total steps  
						
						
						
					 
					
						2012-10-19 20:05:18 -07:00 
						 
				 
			
				
					
						
							
							
								Ben Straub 
							
						 
					 
					
						
						
						
						
							
						
						
							7bcd9e23e8 
							
						 
					 
					
						
						
							
							gitno_buffer: callback on each packet  
						
						... 
						
						
						
						The fetch code takes advantage of this to implement a
progress callback every 100kb of transfer. 
						
					 
					
						2012-10-19 19:36:23 -07:00 
						 
				 
			
				
					
						
							
							
								Ben Straub 
							
						 
					 
					
						
						
						
						
							
						
						
							45b60d7b8d 
							
						 
					 
					
						
						
							
							Correct progress reporting from checkout  
						
						
						
					 
					
						2012-10-19 19:36:22 -07:00 
						 
				 
			
				
					
						
							
							
								Ben Straub 
							
						 
					 
					
						
						
						
						
							
						
						
							aa1e86741d 
							
						 
					 
					
						
						
							
							Clone: in-line callbacks for progress  
						
						... 
						
						
						
						Also implemented in the git2 example. 
						
					 
					
						2012-10-19 19:36:22 -07:00 
						 
				 
			
				
					
						
							
							
								Ben Straub 
							
						 
					 
					
						
						
						
						
							
						
						
							7635a1188a 
							
						 
					 
					
						
						
							
							Fix example compilation  
						
						
						
					 
					
						2012-10-19 19:36:22 -07:00 
						 
				 
			
				
					
						
							
							
								Ben Straub 
							
						 
					 
					
						
						
						
						
							
						
						
							2b7efe0340 
							
						 
					 
					
						
						
							
							Example: compile fixes (not yet working)  
						
						
						
					 
					
						2012-10-19 19:36:22 -07:00 
						 
				 
			
				
					
						
							
							
								Ben Straub 
							
						 
					 
					
						
						
						
						
							
						
						
							d57c47dc07 
							
						 
					 
					
						
						
							
							Add accessor for git_remote's stats field  
						
						... 
						
						
						
						Also converted the network example to use it. 
						
					 
					
						2012-10-19 19:34:15 -07:00 
						 
				 
			
				
					
						
							
							
								Carlos Martín Nieto 
							
						 
					 
					
						
						
						
						
							
						
						
							0a1db746fb 
							
						 
					 
					
						
						
							
							examples: add progress output to fetch  
						
						
						
					 
					
						2012-08-24 20:29:45 +02:00 
						 
				 
			
				
					
						
							
							
								Carlos Martín Nieto 
							
						 
					 
					
						
						
						
						
							
						
						
							bffa852f89 
							
						 
					 
					
						
						
							
							indexer: recognize and mark when all of the packfile has been downloaded  
						
						... 
						
						
						
						We can't always rely on the network telling us when the download is
finished. Recognize it from the indexer itself. 
						
					 
					
						2012-08-24 19:01:10 +02:00 
						 
				 
			
				
					
						
							
							
								Vicent Martí 
							
						 
					 
					
						
						
						
						
							
						
						
							f98c32f3fe 
							
						 
					 
					
						
						
							
							Merge pull request  #778  from ben/clone  
						
						... 
						
						
						
						Clone 
						
					 
					
						2012-08-19 01:26:06 -07:00 
						 
				 
			
				
					
						
							
							
								Ben Straub 
							
						 
					 
					
						
						
						
						
							
						
						
							383fb799ee 
							
						 
					 
					
						
						
							
							Rename example function to avoid name collision.  
						
						
						
					 
					
						2012-07-31 08:51:38 -07:00 
						 
				 
			
				
					
						
							
							
								Ben Straub 
							
						 
					 
					
						
						
						
						
							
						
						
							7e02c7c56a 
							
						 
					 
					
						
						
							
							Checkout: save index on checkout.  
						
						
						
					 
					
						2012-07-31 08:45:42 -07:00 
						 
				 
			
				
					
						
							
							
								Ben Straub 
							
						 
					 
					
						
						
						
						
							
						
						
							84595a30c0 
							
						 
					 
					
						
						
							
							Add clone to the network example.  
						
						
						
					 
					
						2012-07-30 14:38:32 -07:00 
						 
				 
			
				
					
						
							
							
								Carlos Martín Nieto 
							
						 
					 
					
						
						
						
						
							
						
						
							ae789622e4 
							
						 
					 
					
						
						
							
							examples: fix warnings in network/  
						
						
						
					 
					
						2012-07-30 20:28:16 +02:00 
						 
				 
			
				
					
						
							
							
								Carlos Martín Nieto 
							
						 
					 
					
						
						
						
						
							
						
						
							64d01de8a7 
							
						 
					 
					
						
						
							
							remote: start moving the protocol to a common area  
						
						... 
						
						
						
						For the transition, http is going to keep its own logic until the
git/common code catches up with the implied multi_ack that http
has. This also has the side-effect of making the code cleaner and more
correct regardingt he protocol. 
						
					 
					
						2012-07-30 20:25:10 +02:00 
						 
				 
			
				
					
						
							
							
								Carlos Martín Nieto 
							
						 
					 
					
						
						
						
						
							
						
						
							b3aaa7a7c8 
							
						 
					 
					
						
						
							
							Add a struct for network callbacks  
						
						... 
						
						
						
						Currently only update_tips is used, but it prepares the way for
progress output during download. 
						
					 
					
						2012-07-21 18:44:01 +02:00 
						 
				 
			
				
					
						
							
							
								Carlos Martín Nieto 
							
						 
					 
					
						
						
						
						
							
						
						
							371599576a 
							
						 
					 
					
						
						
							
							indexer: don't use '/objects/pack/' unconditionally  
						
						... 
						
						
						
						Not everyone who indexes a packfile wants to put it in the standard
git repository location. 
						
					 
					
						2012-06-28 10:24:03 +02:00 
						 
				 
			
				
					
						
							
							
								Chris Young 
							
						 
					 
					
						
						
						
						
							
						
						
							66a8b662b4 
							
						 
					 
					
						
						
							
							Fix incorrect revert  
						
						
						
					 
					
						2012-06-14 19:15:46 +01:00 
						 
				 
			
				
					
						
							
							
								Chris Young 
							
						 
					 
					
						
						
						
						
							
						
						
							a8df98c6fb 
							
						 
					 
					
						
						
							
							Updates from comments on OS4 compatibility pull request  http://github.com/libgit2/libgit2/pull/766  
						
						
						
					 
					
						2012-06-14 18:57:24 +01:00 
						 
				 
			
				
					
						
							
							
								Chris Young 
							
						 
					 
					
						
						
						
						
							
						
						
							41cbbea8fe 
							
						 
					 
					
						
						
							
							Let platform 'Generic' get the regex deps so we don't need to use our external ones  
						
						
						
					 
					
						2012-06-09 23:05:59 +01:00 
						 
				 
			
				
					
						
							
							
								Chris Young 
							
						 
					 
					
						
						
						
						
							
						
						
							5c0fd7b976 
							
						 
					 
					
						
						
							
							allow disabling pthreads for testing  
						
						
						
					 
					
						2012-06-09 13:20:07 +01:00 
						 
				 
			
				
					
						
							
							
								Chris Young 
							
						 
					 
					
						
						
						
						
							
						
						
							bb502fa803 
							
						 
					 
					
						
						
							
							Fix makefile  
						
						
						
					 
					
						2012-06-09 12:52:49 +01:00 
						 
				 
			
				
					
						
							
							
								Carlos Martín Nieto 
							
						 
					 
					
						
						
						
						
							
						
						
							7eeec8f22d 
							
						 
					 
					
						
						
							
							examples/network: consistently use tabs for indentation  
						
						
						
					 
					
						2012-05-24 16:41:53 +02:00 
						 
				 
			
				
					
						
							
							
								Vicent Martí 
							
						 
					 
					
						
						
						
						
							
						
						
							e172cf082e 
							
						 
					 
					
						
						
							
							errors: Rename the generic return codes  
						
						
						
					 
					
						2012-05-18 01:26:26 +02:00 
						 
				 
			
				
					
						
							
							
								Carlos Martín Nieto 
							
						 
					 
					
						
						
						
						
							
						
						
							41178b419a 
							
						 
					 
					
						
						
							
							examples: fix an oopsie  
						
						
						
					 
					
						2012-05-11 21:49:33 +02:00 
						 
				 
			
				
					
						
							
							
								Carlos Martín Nieto 
							
						 
					 
					
						
						
						
						
							
						
						
							fb49bdf9c7 
							
						 
					 
					
						
						
							
							examples: update network examples error handling  
						
						... 
						
						
						
						Use giterr_last() and make sure it's not NULL. 
						
					 
					
						2012-05-10 16:52:12 +02:00 
						 
				 
			
				
					
						
							
							
								Carlos Martín Nieto 
							
						 
					 
					
						
						
						
						
							
						
						
							baaa8a447e 
							
						 
					 
					
						
						
							
							remotes: change git_remote_new's signature  
						
						... 
						
						
						
						Add a fetch refspec arguemnt and make the arguments (name, url,
refspec), as that order makes more sense. 
						
					 
					
						2012-05-08 21:36:40 +02:00 
						 
				 
			
				
					
						
							
							
								Michael Schubert 
							
						 
					 
					
						
						
						
						
							
						
						
							42ea35c061 
							
						 
					 
					
						
						
							
							remote: don't free transport on disconnect  
						
						... 
						
						
						
						Currently, git_remote_disconnect not only closes the connection but also
frees the underlying transport object, making it impossible to write
code like
	// fetch stuff
	git_remote_download()
	// close connection
	git_remote_disconnect()
	// call user provided callback for each ref
	git_remote_update_tips(remote, callback)
because remote->refs points to references owned by the transport object.
This means, we have an idling connection while running the callback for
each reference.
Instead, allow immediate disconnect and free the transport later in
git_remote_free(). 
						
					 
					
						2012-05-02 01:06:49 +02:00 
						 
				 
			
				
					
						
							
							
								Carlos Martín Nieto 
							
						 
					 
					
						
						
						
						
							
						
						
							f184836bd2 
							
						 
					 
					
						
						
							
							remote: run a callback when updating the branch tips  
						
						... 
						
						
						
						This allows the caller to update an internal structure or update the
user output with the tips that were updated.
While in the area, only try to update the ref if the value is
different from its old one. 
						
					 
					
						2012-04-25 13:25:45 +02:00 
						 
				 
			
				
					
						
							
							
								Carlos Martín Nieto 
							
						 
					 
					
						
						
						
						
							
						
						
							bf4ef0c567 
							
						 
					 
					
						
						
							
							examples: run fetch in a background thread  
						
						... 
						
						
						
						This allows us to give updates on how it's doing 
						
					 
					
						2012-04-25 12:44:52 +02:00 
						 
				 
			
				
					
						
							
							
								Carlos Martín Nieto 
							
						 
					 
					
						
						
						
						
							
						
						
							db0f96a6af 
							
						 
					 
					
						
						
							
							examples: port 'fetch' to the new API  
						
						
						
					 
					
						2012-04-25 12:39:17 +02:00 
						 
				 
			
				
					
						
							
							
								Carlos Martín Nieto 
							
						 
					 
					
						
						
						
						
							
						
						
							907ebe8556 
							
						 
					 
					
						
						
							
							examples: stream indexer example  
						
						
						
					 
					
						2012-04-13 22:19:45 +02:00 
						 
				 
			
				
					
						
							
							
								Carlos Martín Nieto 
							
						 
					 
					
						
						
						
						
							
						
						
							fc1cc2051e 
							
						 
					 
					
						
						
							
							Use new error handling in the example network code  
						
						
						
					 
					
						2012-04-11 19:16:10 +02:00 
						 
				 
			
				
					
						
							
							
								Vicent Marti 
							
						 
					 
					
						
						
						
						
							
						
						
							d88d4311c7 
							
						 
					 
					
						
						
							
							remote: Cleanup the remotes code  
						
						... 
						
						
						
						- Hide the remaining transports code
- Drop `git_headarray`, switch to using a callback to list refs. Makes
the code cleaner. 
						
					 
					
						2011-11-28 08:40:40 +01:00 
						 
				 
			
				
					
						
							
							
								Brandon Casey 
							
						 
					 
					
						
						
						
						
							
						
						
							0b142c9cb2 
							
						 
					 
					
						
						
							
							examples/network/.gitignore: ignore 'git2'  
						
						
						
					 
					
						2011-11-06 20:07:27 -06:00 
						 
				 
			
				
					
						
							
							
								Brandon Casey 
							
						 
					 
					
						
						
						
						
							
						
						
							349532d0b1 
							
						 
					 
					
						
						
							
							examples/network/git2.c: exit with proper status, and avoid segfault  
						
						... 
						
						
						
						This function should exit after printing usage information if too few
arguments were specified.
Additionally, it should exit with a failure status if the first argument
supplied is not one in the internal command list. 
						
					 
					
						2011-11-06 19:44:29 -06:00 
						 
				 
			
				
					
						
							
							
								Brandon Casey 
							
						 
					 
					
						
						
						
						
							
						
						
							983562e475 
							
						 
					 
					
						
						
							
							examples/network/git2.c: add newline to usage message  
						
						
						
					 
					
						2011-11-06 19:43:44 -06:00 
						 
				 
			
				
					
						
							
							
								Brandon Casey 
							
						 
					 
					
						
						
						
						
							
						
						
							faeebd06e4 
							
						 
					 
					
						
						
							
							examples/network/fetch.c: revert overzealous conversion of free to git__free  
						
						... 
						
						
						
						Since git__free is not exported (it's actually a macro), it should not be
used in client programs.  Change this call to 'git__free' back to 'free'. 
						
					 
					
						2011-11-06 19:35:35 -06:00 
						 
				 
			
				
					
						
							
							
								Vicent Marti 
							
						 
					 
					
						
						
						
						
							
						
						
							3286c408ec 
							
						 
					 
					
						
						
							
							global: Properly use git__ memory wrappers  
						
						... 
						
						
						
						Ensure that all memory related functions (malloc, calloc, strdup, free,
etc) are using their respective `git__` wrappers. 
						
					 
					
						2011-10-28 19:02:36 -07:00 
						 
				 
			
				
					
						
							
							
								Carlos Martín Nieto 
							
						 
					 
					
						
						
						
						
							
						
						
							2401262778 
							
						 
					 
					
						
						
							
							examples: add ls-remote, fetch and index-pack examples  
						
						... 
						
						
						
						Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk> 
						
					 
					
						2011-10-03 02:32:32 +02:00