Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
etersoft-build-utils
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
korinf
etersoft-build-utils
Commits
d1745622
Commit
d1745622
authored
Feb 22, 2013
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
introduce gammit: gear-commit -a analogue: make commit with description from spec's changelog
parent
18ccb988
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
2 deletions
+23
-2
gamend
bin/gamend
+2
-2
gammit
bin/gammit
+21
-0
No files found.
bin/gamend
View file @
d1745622
...
@@ -5,8 +5,8 @@
...
@@ -5,8 +5,8 @@
.
`
dirname
$0
`
/../share/eterbuild/functions/common
.
`
dirname
$0
`
/../share/eterbuild/functions/common
if
[
"
$1
"
=
"-h"
]
||
[
"
$1
"
=
"--help"
]
;
then
if
[
"
$1
"
=
"-h"
]
||
[
"
$1
"
=
"--help"
]
;
then
echo
"g
itcam
- do fast git commit amend (apply all current changes to the last commit)"
echo
"g
amend
- do fast git commit amend (apply all current changes to the last commit)"
echo
"Use: g
itcam
[-e] [file]"
echo
"Use: g
amend
[-e] [file]"
echo
" -e - edit commit message"
echo
" -e - edit commit message"
exit
1
exit
1
fi
fi
...
...
bin/gammit
0 → 100755
View file @
d1745622
#!/bin/sh
# Do gear-commit -a
# load common functions, compatible with local and installed script
.
`
dirname
$0
`
/../share/eterbuild/functions/common
if
[
"
$1
"
=
"-h"
]
||
[
"
$1
"
=
"--help"
]
;
then
echo
"gammit - do fast git commit amend (apply all current changes to the last commit)"
echo
"Use: gammit [-e] [file]"
echo
" -e - edit commit message"
exit
1
fi
ARG
=
# If no args
if
[
-z
"
$1
"
]
;
then
ARG
=
"
$ARG
-a"
fi
docmd gear-commit
$ARG
$@
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment