Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Comparing changes

Choose two branches to see what's changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
base fork: TheHippo/git-changelog
base: 964b8547e8
...
head fork: TheHippo/git-changelog
compare: master
Checking mergeability… Don't worry, you can still create the pull request.
  • 3 commits
  • 2 files changed
  • 0 commit comments
  • 1 contributor
Showing with 23 additions and 2 deletions.
  1. +19 −0 LICENSE
  2. +4 −2 git-create-changelog.sh
View
19 LICENSE
@@ -0,0 +1,19 @@
+Copyright (c) 2012 Philipp Klose
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is furnished
+to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
View
6 git-create-changelog.sh
@@ -8,7 +8,8 @@ if test -d ".git"; then
# yes we are in a git repository
# clear old changelog
- echo "# Changelog" > Changelog
+ echo "Changelog" > Changelog
+ echo "=========" >> Changelog
echo "" >> Changelog
#find first commit
@@ -22,7 +23,8 @@ if test -d ".git"; then
for i in "${TAGS[@]}"; do
# for each commit
echo "" >> Changelog
- echo "## $i" >> Changelog
+ echo "$i" >> Changelog
+ echo "--------" >> Changelog
echo "" >> Changelog
git log $LAST...$i --pretty=format:' - %h %s (%an <%ae>)' --reverse | grep -v 'Merge branch' >> Changelog
LAST=$i

No commit comments for this range

Something went wrong with that request. Please try again.