diff options
author | Yves Fischer <yvesf-git@xapek.org> | 2018-11-27 01:00:40 +0100 |
---|---|---|
committer | Yves Fischer <yvesf-git@xapek.org> | 2018-11-27 01:04:17 +0100 |
commit | 0b96889da786513d0522b8444cb0f3514b7edb3b (patch) | |
tree | f1c0ff250ff3272868becf4604682a6084d55555 /git-repo | |
parent | 79beafcbe7dceee1d540d3522ebddd149f7e58be (diff) | |
download | git-repo-0b96889da786513d0522b8444cb0f3514b7edb3b.tar.gz git-repo-0b96889da786513d0522b8444cb0f3514b7edb3b.zip |
warn if PUBLIC file is missing
Diffstat (limited to 'git-repo')
-rwxr-xr-x | git-repo | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -49,6 +49,9 @@ do_list() { fi if [ $(( 0$repo_path_mode & 07 )) -gt 0 ]; then # public permissions="$permissions PUBLIC" + if ! [ -f "$repo_path/PUBLIC" ]; then + permissions="${permissions}-but-cgit-marker-file-missing" + fi color="$C_bg_magenta" fi printf "%s%-60s (%s) (%s)\n" "$color" "$repo_path$C_bg_default" "$permissions" "$shortdesc" |