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
f7f3bce0
Commit
f7f3bce0
authored
Aug 27, 2017
by
Richard Hartmann
Committed by
GitHub
Aug 27, 2017
Browse files
Options
Downloads
Plain Diff
Merge pull request #215 from lyda/commit-fix
Fix commit.
parents
8cee7f8f
c0b61b8e
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
vcsh
+2
-1
2 additions, 1 deletion
vcsh
with
2 additions
and
1 deletion
vcsh
+
2
−
1
View file @
f7f3bce0
...
@@ -190,11 +190,12 @@ clone() {
...
@@ -190,11 +190,12 @@ clone() {
commit
()
{
commit
()
{
hook pre-commit
hook pre-commit
shift
# remove the "commit" command.
for
VCSH_REPO_NAME
in
$(
list
)
;
do
for
VCSH_REPO_NAME
in
$(
list
)
;
do
echo
"
$VCSH_REPO_NAME
: "
echo
"
$VCSH_REPO_NAME
: "
GIT_DIR
=
$VCSH_REPO_D
/
$VCSH_REPO_NAME
.git
;
export
GIT_DIR
GIT_DIR
=
$VCSH_REPO_D
/
$VCSH_REPO_NAME
.git
;
export
GIT_DIR
use
use
git commit
--untracked-files
=
no
--quiet
$@
git commit
--untracked-files
=
no
--quiet
"
$@
"
VCSH_COMMAND_RETURN_CODE
=
$?
VCSH_COMMAND_RETURN_CODE
=
$?
echo
echo
done
done
...
...
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