Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
Core
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container registry
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
justinfreeman (Agileware)
Core
Commits
79714f84
Commit
79714f84
authored
12 years ago
by
Kurund Jalmi
Browse files
Options
Downloads
Plain Diff
Merge pull request #263 from totten/jira-commit-msg
CRM-12109 - Call git-footnote in commit-msg hook
parents
cb49d23b
95be04e3
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
distmaker/distmaker.sh
+1
-1
1 addition, 1 deletion
distmaker/distmaker.sh
tools/scripts/git/commit-msg
+15
-1
15 additions, 1 deletion
tools/scripts/git/commit-msg
with
16 additions
and
2 deletions
distmaker/distmaker.sh
+
1
−
1
View file @
79714f84
...
...
@@ -30,7 +30,7 @@ P=`dirname $0`
ORIGPWD
=
`
pwd
`
# List of files to exclude from all tarballs
DM_EXCLUDES
=
".git .svn packages/_ORIGINAL_ packages/SeleniumRC packages/PHPUnit packages/PhpDocumentor packages/SymfonyComponents packages/amavisd-new"
DM_EXCLUDES
=
".git .svn packages/_ORIGINAL_ packages/SeleniumRC packages/PHPUnit packages/PhpDocumentor packages/SymfonyComponents packages/amavisd-new
packages/git-footnote
"
for
DM_EXCLUDE
in
$DM_EXCLUDES
;
do
DM_EXCLUDES_RSYNC
=
"--exclude=
${
DM_EXCLUDE
}
${
DM_EXCLUDES_RSYNC
}
"
done
...
...
This diff is collapsed.
Click to expand it.
tools/scripts/git/commit-msg
+
15
−
1
View file @
79714f84
...
...
@@ -2,4 +2,18 @@
# Note: This shell script should be designed and tested for cross-platform use
# Reserved for future use
\ No newline at end of file
set
-e
if
[
"
$GIT_CANONICAL_REPO_NAME
"
=
"civicrm-core"
]
;
then
PACKAGES
=
"
$GIT_DIR
/../packages"
else
PACKAGES
=
"
$GIT_DIR
/../../packages"
fi
if
[
-f
"
$PACKAGES
/git-footnote/bin/git-footnote"
]
;
then
FILE
=
"
$1
"
TMPFILE
=
"
$1
.jira"
cp
-p
"
$FILE
"
"
$TMPFILE
"
$PACKAGES
/git-footnote/bin/git-footnote CRM http://issues.civicrm.org/jira <
"
$TMPFILE
"
>
"
$FILE
"
rm
-f
"
$TMPFILE
"
fi
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