aboutsummaryrefslogtreecommitdiffstats
path: root/gitweb/gitweb.css
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2006-10-03 02:30:47 -0700
committerJunio C Hamano <junkio@cox.net>2006-10-03 02:30:47 -0700
commit2172ce4b01c862e66e3d581282dc92223cbd28fa (patch)
treeea00768cc015ae9b4242a6d277179b620e59bbbd /gitweb/gitweb.css
parentgitweb: make leftmost column of blame less cluttered. (diff)
downloadgit-2172ce4b01c862e66e3d581282dc92223cbd28fa.tar.gz
git-2172ce4b01c862e66e3d581282dc92223cbd28fa.zip
gitweb: prepare for repositories with packed refs.
When a repository is initialized long time ago with symbolic HEAD, and "git-pack-refs --prune" is run, HEAD will be a dangling symlink to refs/heads/ somewhere. Running -e "$dir/HEAD" to guess if $dir is a git repository does not give us the right answer anymore in such a case. Also factor out two places that checked if the repository can be exported with similar code into a call to a new function, check_export_ok. Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'gitweb/gitweb.css')
0 files changed, 0 insertions, 0 deletions