mirror of
https://github.com/tj/git-extras.git
synced 2026-09-10 07:26:17 -04:00
Corrected repository location print out and docs ws-root-directory absolute path
This commit is contained in:
parent
ca62bdcfe6
commit
fe39ac8af2
|
|
@ -252,7 +252,7 @@ usage: git bulk [-g] ([-a]|[-w <ws-name>]) <git command>
|
|||
git bulk --listall
|
||||
```
|
||||
|
||||
Register a workspace so that `git bulk` knows about it:
|
||||
Register a workspace so that `git bulk` knows about it (notice that <ws-root-directory> must be absolute path):
|
||||
|
||||
```bash
|
||||
$ git bulk --addworkspace personal ~/workspaces/personal
|
||||
|
|
|
|||
|
|
@ -113,7 +113,8 @@ function executBulkOp () {
|
|||
local gitrepodir=${line::${#line}-5} # cut the .git part of find results to have the root git directory of that repository
|
||||
eval cd "\"$gitrepodir\"" # into git repo location
|
||||
local curdir=$(pwd)
|
||||
echo "Current repository: ${actual#${curdir%/*}}/${bldred}${curdir##*/}${reset}"
|
||||
local leadingpath=${curdir#${actual}}
|
||||
echo "Current repository: ${leadingpath%/*}/${bldred}${curdir##*/}${reset}"
|
||||
guardedExecution
|
||||
eval cd "\"$rwsdir\"" # back to origin location of last find command
|
||||
done
|
||||
|
|
|
|||
|
|
@ -51,7 +51,7 @@ Any git Command you wish to execute on the repositories\.
|
|||
\-\-addworkspace <ws\-name> <ws\-root\-directory>
|
||||
.
|
||||
.P
|
||||
Register a workspace for bulk operations\. All repositories in the diretories below <ws\-root\-directory> get registered under this workspace with the name <ws\-name>\.
|
||||
Register a workspace for bulk operations\. All repositories in the diretories below <ws\-root\-directory> get registered under this workspace with the name <ws\-name>\. <ws\-root\-directory> must be absultue path\.
|
||||
.
|
||||
.P
|
||||
\-\-removeworkspace <ws\-name>
|
||||
|
|
|
|||
|
|
@ -114,7 +114,7 @@
|
|||
|
||||
<p> --addworkspace <ws-name> <ws-root-directory></p>
|
||||
|
||||
<p> Register a workspace for bulk operations. All repositories in the diretories below <ws-root-directory> get registered under this workspace with the name <ws-name>.</p>
|
||||
<p> Register a workspace for bulk operations. All repositories in the diretories below <ws-root-directory> get registered under this workspace with the name <ws-name>. <ws-root-directory> must be absultue path.</p>
|
||||
|
||||
<p> --removeworkspace <ws-name></p>
|
||||
|
||||
|
|
@ -169,7 +169,7 @@ $ git bulk --purge
|
|||
|
||||
<h2 id="AUTHOR">AUTHOR</h2>
|
||||
|
||||
<p>Written by Niklas Schlimm <<a href="mailto:ns103@hotmail.de" data-bare-link="true">ns103@hotmail.de</a>></p>
|
||||
<p>Written by Niklas Schlimm <<a href="mailto:ns103@hotmail.de" data-bare-link="true">ns103@hotmail.de</a>></p>
|
||||
|
||||
<h2 id="REPORTING-BUGS">REPORTING BUGS</h2>
|
||||
|
||||
|
|
|
|||
|
|
@ -38,7 +38,7 @@ git bulk adds convenien support for operations that you want to execute on multi
|
|||
|
||||
--addworkspace <ws-name> <ws-root-directory>
|
||||
|
||||
Register a workspace for bulk operations. All repositories in the diretories below <ws-root-directory> get registered under this workspace with the name <ws-name>.
|
||||
Register a workspace for bulk operations. All repositories in the diretories below <ws-root-directory> get registered under this workspace with the name <ws-name>. <ws-root-directory> must be absultue path.
|
||||
|
||||
--removeworkspace <ws-name>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue