Browse Source

sde-list-changes: Fixed to work with git 1.6, which moved git-* out of $PATH

karasz/new-early
Alejandro Mery 16 years ago
parent
commit
1d6f84a667
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      bin/sde-list-changes

+ 3
- 3
bin/sde-list-changes

@ -3,7 +3,7 @@
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# 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.
#
@ -66,12 +66,12 @@ if [ -d '.git' ]; then
else
status=--name-only
fi
git-diff-index $status HEAD "$@" &
git diff-index $status HEAD "$@" &
# untracked files
exclude=
[ ! -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
if [ -d "$f/.git" -o -d "$f/.svn" ]; then
# skip sub-projects

Loading…
Cancel
Save