about summary refs log tree commit diff
path: root/Functions/VCS_Info/Backends/VCS_INFO_detect_fossil
blob: a44b33eb500975ba8f1858ac90d08c8cc395602c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
## vim:ft=zsh
## fossil support by: Mike Meyer <mwm@mired.org>
## Distributed under the same BSD-ish license as zsh itself.

setopt localoptions NO_shwordsplit

[[ $1 == '--flavours' ]] && return 1

VCS_INFO_check_com ${vcs_comm[cmd]} || return 1
vcs_comm[detect_need_file]="_FOSSIL_ .fslckout"
VCS_INFO_bydir_detect . || return 1

return 0