]> git.e2factory.org Git - e2factory.git/commitdiff
generic_git: documentation
authorTobias Ulmer <tu@emlix.com>
Fri, 7 Sep 2018 15:17:56 +0000 (17:17 +0200)
committerTobias Ulmer <tu@emlix.com>
Mon, 10 Dec 2018 17:00:11 +0000 (18:00 +0100)
generic/generic_git.lua

index 43fa60557c0fb9701f6aadad920a1ba4f4441a59..d8158d0aca18f717c83bab444f1d54460081073b 100644 (file)
@@ -258,7 +258,7 @@ end
 -- The first matching ref is returned. Use filter to check for specific refs.
 
 -- @param git_dir Path to GIT_DIR.
--- @param remote True for remote repository, false for local repository.
+-- @param remote True for default remote repository, false for local repository.
 -- @param id Full commit ID string, must be 40 chars long.
 -- @param filter Filter string to select specific refs. Filter is passed to
 --               string.match(), and is always anchored (^) to the start of
@@ -520,7 +520,7 @@ function generic_git.git_url1(u)
 end
 
 --- clone a git repository by server and location
--- @param c
+-- @param c Cache
 -- @param server
 -- @param location
 -- @param destdir string: destination directory
@@ -543,7 +543,7 @@ function generic_git.git_clone_from_server(c, server, location, destdir,
 end
 
 --- initialize a git repository
--- @param c a cache
+-- @param c Cache
 -- @param server string: server name
 -- @param location string: location
 -- @return bool
@@ -563,7 +563,7 @@ function generic_git.git_init_db(c, server, location)
 end
 
 --- do a git push
--- @param c a cache
+-- @param c Cache
 -- @param gitdir string: gitdir
 -- @param server string: server name
 -- @param location string: location