mirror of
				https://git.proxmox.com/git/libgit2
				synced 2025-11-04 01:31:47 +00:00 
			
		
		
		
	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.
		
			
				
	
	
		
			15 lines
		
	
	
		
			208 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			208 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
default: all
 | 
						|
 | 
						|
CC = gcc
 | 
						|
CFLAGS += -g
 | 
						|
CFLAGS += -I../../include -L../../ -lgit2 -lpthread
 | 
						|
 | 
						|
OBJECTS = \
 | 
						|
  git2.o \
 | 
						|
  ls-remote.o \
 | 
						|
  fetch.o \
 | 
						|
  index-pack.o
 | 
						|
 | 
						|
all: $(OBJECTS)
 | 
						|
	$(CC) $(CFLAGS) -o git2 $(OBJECTS)
 |