about summary refs log tree commit diff
path: root/Functions/VCS_Info/Backends/VCS_INFO_detect_darcs
blob: 1e3f5476e97354e42fb5fa67b8c6a3b25f5e79cd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
## vim:ft=zsh
## darcs support by: Frank Terbeck <ft@bewatermyfriend.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]=format
VCS_INFO_bydir_detect '_darcs'
return $?