mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-22 00:06:12 -05:00
scripts/create_changelog.sh: allow script to run in worktrees
(cherry picked from commit a201c43cc0f952dc05e2d7029eb1257e280fc3d2)
This commit is contained in:
parent
22c392c0ff
commit
3eeaf5b96c
@ -1,7 +1,7 @@
|
||||
#!/bin/sh
|
||||
# Convert git log to GNU-style ChangeLog file.
|
||||
# (C) Chris
|
||||
if test -d ".git"; then
|
||||
if test -e ".git"; then
|
||||
git log --date-order --date=short | \
|
||||
sed -e '/^commit.*$/d' | \
|
||||
awk '/^Author/ {sub(/\\$/,""); getline t; print $0 t; next}; 1' | \
|
||||
|
Loading…
x
Reference in New Issue
Block a user