git: allow an empty refspec even when using version control
If no refspec was given just take the default we get after clone. Signed-off-by: Henning Schild <henning.schild@siemens.com>
This commit is contained in:
committed by
Daniel Wagner
parent
62cf4fb0eb
commit
ce02354627
@@ -321,7 +321,9 @@ Configuration reference
|
||||
are performed.
|
||||
|
||||
* ``refspec``: string [optional]
|
||||
The refspec that should be used. Required if an ``url`` was specified.
|
||||
The refspec that should be used. If ``url`` was specified bot no
|
||||
``refspec`` the revision you get depends on the defaults of the version
|
||||
control system used.
|
||||
|
||||
* ``path``: string [optional]
|
||||
The path where the repository is stored.
|
||||
|
Reference in New Issue
Block a user