mirror of
				https://git.proxmox.com/git/libgit2
				synced 2025-11-04 08:48:25 +00:00 
			
		
		
		
	After reviewing the gitignore support with Vicent, we came up with a list of minor cleanups to prepare for merge, including: * checking git_repository_config error returns * renaming git_ignore_is_ignored and moving to status.h * fixing next_line skipping to include \r skips * commenting on where ignores are and are not included
		
			
				
	
	
		
			18 lines
		
	
	
		
			534 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
		
			534 B
		
	
	
	
		
			C
		
	
	
	
	
	
/*
 | 
						|
 * Copyright (C) 2009-2011 the libgit2 contributors
 | 
						|
 *
 | 
						|
 * This file is part of libgit2, distributed under the GNU GPL v2 with
 | 
						|
 * a Linking Exception. For full terms see the included COPYING file.
 | 
						|
 */
 | 
						|
#ifndef INCLUDE_ignore_h__
 | 
						|
#define INCLUDE_ignore_h__
 | 
						|
 | 
						|
#include "repository.h"
 | 
						|
#include "vector.h"
 | 
						|
 | 
						|
extern int git_ignore__for_path(git_repository *repo, const char *path, git_vector *stack);
 | 
						|
extern void git_ignore__free(git_vector *stack);
 | 
						|
extern int git_ignore__lookup(git_vector *stack, const char *path, int *ignored);
 | 
						|
 | 
						|
#endif
 |