Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
V
vcsh
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Kevin Lyda
vcsh
Commits
2b7348c5
Commit
2b7348c5
authored
Dec 18, 2013
by
Mikhail Gusarov
Browse files
Options
Downloads
Patches
Plain Diff
Use printf, not echo -n to print messages without newline
OS X echo does not understand -n and prints it literally
parent
494ebfd7
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
vcsh
+2
-2
2 additions, 2 deletions
vcsh
with
2 additions
and
2 deletions
vcsh
+
2
−
2
View file @
2b7348c5
...
@@ -247,7 +247,7 @@ list_tracked_by() {
...
@@ -247,7 +247,7 @@ list_tracked_by() {
pull
()
{
pull
()
{
hook pre-pull
hook pre-pull
for
VCSH_REPO_NAME
in
$(
list
)
;
do
for
VCSH_REPO_NAME
in
$(
list
)
;
do
echo
-n
"
$VCSH_REPO_NAME
: "
printf
"
$VCSH_REPO_NAME
: "
export
GIT_DIR
=
"
$VCSH_REPO_D
/
$VCSH_REPO_NAME
.git"
export
GIT_DIR
=
"
$VCSH_REPO_D
/
$VCSH_REPO_NAME
.git"
use
use
git pull
git pull
...
@@ -259,7 +259,7 @@ pull() {
...
@@ -259,7 +259,7 @@ pull() {
push
()
{
push
()
{
hook pre-push
hook pre-push
for
VCSH_REPO_NAME
in
$(
list
)
;
do
for
VCSH_REPO_NAME
in
$(
list
)
;
do
echo
-n
"
$VCSH_REPO_NAME
: "
printf
"
$VCSH_REPO_NAME
: "
export
GIT_DIR
=
"
$VCSH_REPO_D
/
$VCSH_REPO_NAME
.git"
export
GIT_DIR
=
"
$VCSH_REPO_D
/
$VCSH_REPO_NAME
.git"
use
use
git push
git push
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment