mirror of
				https://git.proxmox.com/git/libgit2
				synced 2025-11-04 08:48:25 +00:00 
			
		
		
		
	The diff constructor functions had some confusing names, where the "old" side of the diff was coming after the "new" side. This reverses the order in the function name to make it less confusing. Specifically... * git_diff_index_to_tree becomes git_diff_tree_to_index * git_diff_workdir_to_index becomes git_diff_index_to_workdir * git_diff_workdir_to_tree becomes git_diff_tree_to_workdir
		
			
				
	
	
		
			16 lines
		
	
	
		
			283 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
		
			283 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
.PHONY: all
 | 
						|
 | 
						|
CC = gcc
 | 
						|
CFLAGS = -g -I../include -I../src -Wall -Wextra -Wmissing-prototypes -Wno-missing-field-initializers
 | 
						|
LFLAGS = -L../build -lgit2 -lz
 | 
						|
APPS = general showindex diff
 | 
						|
 | 
						|
all: $(APPS)
 | 
						|
 | 
						|
% : %.c
 | 
						|
	$(CC) -o $@ $(CFLAGS) $< $(LFLAGS)
 | 
						|
 | 
						|
clean:
 | 
						|
	$(RM) $(APPS)
 | 
						|
	$(RM) -r *.dSYM
 |