|
@ -3,7 +3,7 @@ |
|
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|
|
# |
|
|
# |
|
|
# Filename: bin/sde-list-changes |
|
|
# Filename: bin/sde-list-changes |
|
|
# Copyright (C) 2007 The OpenSDE Project |
|
|
|
|
|
|
|
|
# Copyright (C) 2007 - 2008 The OpenSDE Project |
|
|
# |
|
|
# |
|
|
# More information can be found in the files COPYING and README. |
|
|
# More information can be found in the files COPYING and README. |
|
|
# |
|
|
# |
|
@ -66,12 +66,12 @@ if [ -d '.git' ]; then |
|
|
else |
|
|
else |
|
|
status=--name-only |
|
|
status=--name-only |
|
|
fi |
|
|
fi |
|
|
git-diff-index $status HEAD "$@" & |
|
|
|
|
|
|
|
|
git diff-index $status HEAD "$@" & |
|
|
|
|
|
|
|
|
# untracked files |
|
|
# untracked files |
|
|
exclude= |
|
|
exclude= |
|
|
[ ! -f '.gitignore' ] || exclude="-X .gitignore" |
|
|
[ ! -f '.gitignore' ] || exclude="-X .gitignore" |
|
|
git-ls-files --others --directory $exclude "$@" | while read f; do |
|
|
|
|
|
|
|
|
git ls-files --others --directory $exclude "$@" | while read f; do |
|
|
# be sure to not include sub-projects |
|
|
# be sure to not include sub-projects |
|
|
if [ -d "$f/.git" -o -d "$f/.svn" ]; then |
|
|
if [ -d "$f/.git" -o -d "$f/.svn" ]; then |
|
|
# skip sub-projects |
|
|
# skip sub-projects |
|
|