Commit c0efa1983a0215d5cc015487aec1ecfee8b5a936
git: rename clone() => clone_command()
To be consistent and less ambiguous.
Author: xaizek
Author date (UTC): 2026-03-30 09:14
Committer name: xaizek
Committer date (UTC): 2026-03-30 09:14
Parent(s): f63222b8bc2b7ae41d2a710cad42bf18e502661c
Signing key: 99DC5E4DB05F6BE2
Tree: a6259603459147320f641c9f1f6ee6a083308ff1
| File data/plugins/git/init.lua changed (mode: 100644) (index 81b5da0f4..781f54fe2) |
| ... |
... |
local statuses = vifm.plugin.require('statuses') |
| 2 |
2 |
|
|
| 3 |
3 |
local M = {} |
local M = {} |
| 4 |
4 |
|
|
| 5 |
|
local function clone(info) |
|
|
5 |
|
local function clone_command(info) |
| 6 |
6 |
local url = info.argv[1] |
local url = info.argv[1] |
| 7 |
7 |
|
|
| 8 |
8 |
local name |
local name |
| |
| ... |
... |
end |
| 59 |
59 |
local added = vifm.cmds.add { |
local added = vifm.cmds.add { |
| 60 |
60 |
name = "Gclone", |
name = "Gclone", |
| 61 |
61 |
description = "clone a repository and enter it", |
description = "clone a repository and enter it", |
| 62 |
|
handler = clone, |
|
|
62 |
|
handler = clone_command, |
| 63 |
63 |
minargs = 1, |
minargs = 1, |
| 64 |
64 |
maxargs = 2, |
maxargs = 2, |
| 65 |
65 |
} |
} |