diff options
author | Junio C Hamano <gitster@pobox.com> | 2011-10-22 03:04:32 +0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2011-10-22 03:04:32 +0400 |
commit | afd6284a7fdbb479b5c99a87f64d7496f6fe8a27 (patch) | |
tree | 8023d7fb1a7be7457d8fcdeba68e7a0ddfa9f6cc /cache.h | |
parent | 8963314c77af9a4eda5dcbdbab3d4001af83ad81 (diff) | |
parent | 3ac64370164fb80e92c3c9136210d3a49f1e01fa (diff) |
Merge branch 'ph/transport-with-gitfile'
* ph/transport-with-gitfile:
Fix is_gitfile() for files too small or larger than PATH_MAX to be a gitfile
Add test showing git-fetch groks gitfiles
Teach transport about the gitfile mechanism
Learn to handle gitfiles in enter_repo
enter_repo: do not modify input
Diffstat (limited to 'cache.h')
-rw-r--r-- | cache.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -736,7 +736,7 @@ int safe_create_leading_directories(char *path); int safe_create_leading_directories_const(const char *path); int mkdir_in_gitdir(const char *path); extern char *expand_user_path(const char *path); -char *enter_repo(char *path, int strict); +const char *enter_repo(const char *path, int strict); static inline int is_absolute_path(const char *path) { return is_dir_sep(path[0]) || has_dos_drive_prefix(path); |