56 Commits (0e214af9c34623979b19bb183bd8e518d749fd63)

Author SHA1 Message Date
Alex Riesen 4a92d1bfb7 Add remove_path: a function to remove as much as possible of a path 16 years ago
Kevin Ballard ea335b56d4 Fix escaping of glob special characters in pathspecs 16 years ago
Linus Torvalds 88ea8112b4 Optimize match_pathspec() to avoid fnmatch() 17 years ago
Shawn Bohrer f2d0df7148 git clean: Don't automatically remove directories when run within subdirectory 17 years ago
Linus Torvalds 0a9b88b7de Add 'core.ignorecase' option 17 years ago
Linus Torvalds cd2fef59ed Make hash_name_lookup able to do case-independent lookups 17 years ago
Jim Meyering 8e0f70033b Avoid unnecessary "if-before-free" tests. 17 years ago
Junio C Hamano 6831a88ac0 gitignore: lazily find dtype 17 years ago
Junio C Hamano d6b8fc303b gitignore(5): Allow "foo/" in ignore list to match directory "foo" 17 years ago
Linus Torvalds cf558704fb Create pathname-based hash-table lookup into index 17 years ago
Linus Torvalds 7a51ed66f6 Make on-disk index representation separate from in-core one 17 years ago
李鸿 6ba78238a8 Fix a memory leak 17 years ago
Junio C Hamano 63d285c849 per-directory-exclude: lazily read .gitignore files 17 years ago
Junio C Hamano 686a4a06b6 dir.c: minor clean-up 17 years ago
Junio C Hamano a50f9fc5fe file_exists(): dangling symlinks do exist 17 years ago
Junio C Hamano 0e06cc8b82 Fix per-directory exclude handing for "git add" 17 years ago
Junio C Hamano dcf0c16ef1 core.excludesfile clean-up 17 years ago
Junio C Hamano 41a7aa588f Fix per-directory exclude handing for "git add" 17 years ago
Junio C Hamano 039bc64e88 core.excludesfile clean-up 17 years ago
Junio C Hamano f3fa183802 Style: place opening brace of a function definition at column 1 17 years ago
Lars Knoll 68492fc73b Speedup scanning for excluded files. 17 years ago
Linus Torvalds 07134421fc Fix directory scanner to correctly ignore files without d_type 17 years ago
Johannes Schindelin 7155b727c9 Introduce remove_dir_recursively() 17 years ago
Johannes Schindelin 420acb31ac get_relative_cwd(): clarify why it handles dir == NULL 18 years ago
Johannes Schindelin e663674722 Add functions get_relative_cwd() and is_inside_dir() 18 years ago
Jeff King 25fd2f7a31 Fix ALLOC_GROW calls with obsolete semantics 18 years ago
Jeff King e96980ef81 builtin-add: simplify (and increase accuracy of) exclude handling 18 years ago
Jeff King 2abd31b078 dir_struct: add collect_ignored option 18 years ago
Jeff King 6815e56933 refactor dir_add_name 18 years ago
Martin Waitz 302b9282c9 rename dirlink to gitlink. 18 years ago
Michael Spang b991625611 dir.c: Omit non-excluded directories with dir->show_ignored 18 years ago
Johannes Schindelin c7f34c180b dir.c(common_prefix): Fix two bugs 18 years ago
Linus Torvalds ab22aed3b7 Don't show gitlink directories when we want "other" files 18 years ago
Linus Torvalds 095952585c Teach directory traversal about subprojects 18 years ago
Linus Torvalds 5d5cea67af Avoid overflowing name buffer in deep directory structures 18 years ago
Linus Torvalds 9fc42d6091 Optimize directory listing with pathspec limiter. 18 years ago
Shawn O. Pearce dc49cd769b Cast 64 bit off_t to 32 bit size_t 18 years ago
Andy Whitcroft 93d26e4cb9 short i/o: fix calls to read to use xread or read_in_full 18 years ago
Junio C Hamano 4d06f8ac43 Fix 'git add' with .gitignore 18 years ago
Junio C Hamano c889763bf3 Revert "read_directory: show_both option." 18 years ago
Junio C Hamano 4888c53409 read_directory: show_both option. 18 years ago
Junio C Hamano e813d50e35 match_pathspec() -- return how well the spec matched 18 years ago
Junio C Hamano 85023577a8 simplify inclusion of system header files. 18 years ago
Junio C Hamano f8a9d42872 read-tree: further loosen "working file will be lost" check. 18 years ago
Johannes Schindelin 07ccbff89b runstatus: do not recurse into subdirectories if not needed 18 years ago
Jeff King c91f0d92ef git-commit.sh: convert run_status to a C builtin 18 years ago
Jonas Fonseca c470701a98 Use fstat instead of fseek 18 years ago
Jonas Fonseca 83572c1a91 Use xrealloc instead of realloc 18 years ago
Jonas Fonseca 095c424d08 Use PATH_MAX instead of MAXPATHLEN 18 years ago
Pavel Roskin a9486b02ec Avoid C99 comments, use old-style C comments instead. 19 years ago