mirror of
https://github.com/vlang/v.git
synced 2025-09-15 07:22:27 +03:00
fmt: fix alignment of struct init fields (#22025)
This commit is contained in:
parent
99da5726db
commit
c51d30bf53
671 changed files with 18817 additions and 18787 deletions
|
@ -35,22 +35,22 @@ fn init_vcs_info() !map[VCS]VCSInfo {
|
|||
}
|
||||
return {
|
||||
VCS.git: VCSInfo{
|
||||
dir: '.git'
|
||||
dir: '.git'
|
||||
args: struct {
|
||||
install: git_install_cmd
|
||||
version: '--single-branch -b'
|
||||
update: 'pull --recurse-submodules' // pulling with `--depth=1` leads to conflicts when the upstream has more than 1 new commits.
|
||||
path: '-C'
|
||||
install: git_install_cmd
|
||||
version: '--single-branch -b'
|
||||
update: 'pull --recurse-submodules' // pulling with `--depth=1` leads to conflicts when the upstream has more than 1 new commits.
|
||||
path: '-C'
|
||||
outdated: ['fetch', 'rev-parse @', 'rev-parse @{u}']
|
||||
}
|
||||
}
|
||||
VCS.hg: VCSInfo{
|
||||
dir: '.hg'
|
||||
dir: '.hg'
|
||||
args: struct {
|
||||
install: 'clone'
|
||||
version: '--rev'
|
||||
update: 'pull --update'
|
||||
path: '-R'
|
||||
install: 'clone'
|
||||
version: '--rev'
|
||||
update: 'pull --update'
|
||||
path: '-R'
|
||||
outdated: ['incoming']
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue