171 Commits (9e2326c7e1efb1ae42b17e3fa38c16711a8d0bd8)

Author SHA1 Message Date
Michael Haggerty 9e2326c7e1 longest_ancestor_length(): require prefix list entries to be normalized 12 years ago
Michael Haggerty 31171d9e45 longest_ancestor_length(): take a string_list argument for prefixes 12 years ago
Matthieu Moy 4d4b573977 setup: clarify error messages for file/revisions ambiguity 13 years ago
Junio C Hamano 8c135ea260 sha1_name.c: get rid of get_sha1_with_mode_1() 13 years ago
Jeff King 546e0fd9e9 diff: handle relative paths in no-index 13 years ago
Matthieu Moy 023e37c377 verify_filename(): ask the caller to chose the kind of diagnosis 13 years ago
Clemens Buchacher 2565b43bd2 properly keep track of current working directory 13 years ago
Jeff King b3256eb8b3 standardize and improve lookup rules for external local repos 13 years ago
Clemens Buchacher f950eb9560 rename pathspec_prefix() to common_prefix() and move to dir.[ch] 14 years ago
Junio C Hamano 4a085b16f4 consolidate pathspec_prefix and common_prefix 14 years ago
Clemens Buchacher 5879f5684c remove prefix argument from pathspec_prefix 14 years ago
Junio C Hamano 13d6ec9133 read_gitfile_gently(): rename misnamed function to read_gitfile() 14 years ago
Fredrik Gustafsson abc06822af rev-parse: add option --resolve-git-dir <path> 14 years ago
Dmitry Ivankov 0687628466 Reduce parse-options.o dependencies 14 years ago
Clemens Buchacher 8894d53580 commit: allow partial commits with relative paths 14 years ago
David Aguilar 1f5d271f5e setup: Provide GIT_PREFIX to built-ins 14 years ago
Jeff King b1905aeac5 read_gitfile_gently: use ssize_t to hold read result 14 years ago
Ramsay Jones 488201c87e setup.c: Fix some "symbol not declared" sparse warnings 14 years ago
Junio C Hamano 0e539dca51 rev/path disambiguation: further restrict "misspelled index entry" diag 14 years ago
Junio C Hamano 2e83b66c32 fix overslow :/no-such-string-ever-existed diagnostics 14 years ago
Junio C Hamano b060ce7de4 pathspec: drop "lone : means no pathspec" from get_pathspec() 14 years ago
Junio C Hamano 6d94292710 Revert "magic pathspec: add ":(icase)path" to match case insensitively" 14 years ago
Junio C Hamano d0546e2d48 magic pathspec: add ":(icase)path" to match case insensitively 14 years ago
Junio C Hamano 2f6c9760de magic pathspec: futureproof shorthand form 14 years ago
Junio C Hamano 8a42c98501 magic pathspec: add tentative ":/path/from/top/level" pathspec support 14 years ago
Nguyễn Thái Ngọc Duy 9b125da490 setup: return correct prefix if worktree is '/' 14 years ago
Carlos Martín Nieto e2a57aac8a Name make_*_path functions more accurately 14 years ago
Jonathan Nieder 4868b2ea17 Subject: setup: officially support --work-tree without --git-dir 14 years ago
Carlo Marcelo Arenas Belon 18e051a398 setup: translate symlinks in filename when using absolute paths 14 years ago
Nguyễn Thái Ngọc Duy 0ed7481347 setup_work_tree: adjust relative $GIT_WORK_TREE after moving cwd 14 years ago
Nguyễn Thái Ngọc Duy b3f66fd3e3 setup: rework setup_explicit_git_dir() 14 years ago
Nguyễn Thái Ngọc Duy 9951d3b37e setup: clean up setup_discovered_git_dir() 14 years ago
Nguyễn Thái Ngọc Duy 1cd8031b2d setup: clean up setup_bare_git_dir() 14 years ago
Nguyễn Thái Ngọc Duy e6aea2dba2 setup: limit get_git_work_tree()'s to explicit setup case only 14 years ago
Nguyễn Thái Ngọc Duy 337e51cedf Use git_config_early() instead of git_config() during repo setup 14 years ago
Nguyễn Thái Ngọc Duy edc54fb5d4 Make prefix_path() return char* without const 14 years ago
Nguyễn Thái Ngọc Duy f07d6a1ad1 setup: save prefix (original cwd relative to toplevel) in startup_info 14 years ago
Thomas Rast 9e5f5d4cfe prefix_filename(): safely handle the case where pfx_len=0 14 years ago
Nguyễn Thái Ngọc Duy a60645f9c5 setup: remember whether repository was found 15 years ago
Nguyễn Thái Ngọc Duy 98937bef1b setup: split off a function to handle ordinary .git directories 15 years ago
Nguyễn Thái Ngọc Duy 8fc0ae80f6 setup: do not forget working dir from subdir of gitdir 15 years ago
Jonathan Nieder 60c98d1e80 setup: split off get_device_or_die helper 15 years ago
Jonathan Nieder f161edebb6 setup: split off a function to handle hitting ceiling in repo search 15 years ago
Jonathan Nieder 68698da540 setup: split off code to handle stumbling upon a repository 15 years ago
Jonathan Nieder 93a00542ea setup: split off a function to checks working dir for .git file 15 years ago
Jonathan Nieder e4e303479b setup: split off $GIT_DIR-set case from setup_git_directory_gently 15 years ago
Greg Brockman 1b0b962d77 Check size of path buffer before writing into it 15 years ago
Greg Brockman 3c9d0414ed Check size of path buffer before writing into it 15 years ago
Raja R Harinath c7d1d1b132 Use dev_t for device id (st_dev) from stat in setup_git_directory_gently() 15 years ago
Clemens Buchacher e1e5ec868f setup: document prefix 15 years ago