Sha256: 0843ef8d2a7b8816a9d767140adf89174c271df3a1b26b025fbb44ab1b91a0ef

Contents?: true

Size: 414 Bytes

Versions: 105

Compression:

Stored size: 414 Bytes

Contents

#!/bin/sh

#
# Check if git directory has no changes.
#
cd $1

git rev-parse --verify HEAD >/dev/null || echo 1
git update-index -q --ignore-submodules --refresh

err=0

if ! git diff-files --quiet --ignore-submodules
then
  err=1
fi

if ! git diff-index --cached --quiet --ignore-submodules HEAD --
then
  err=1
fi

test -z "$(git status --porcelain)" || err=1

if [ ${err} = "1" ]
then
  echo ${err}
  exit 1
fi

Version data entries

105 entries across 105 versions & 1 rubygems

Version Path
docman-0.0.87 bin/dm_repo_clean.sh
docman-0.0.86 bin/dm_repo_clean.sh
docman-0.0.85 bin/dm_repo_clean.sh
docman-0.0.84 bin/dm_repo_clean.sh
docman-0.0.83 bin/dm_repo_clean.sh
docman-0.0.82 bin/dm_repo_clean.sh
docman-0.0.81 bin/dm_repo_clean.sh
docman-0.0.80 bin/dm_repo_clean.sh
docman-0.0.79 bin/dm_repo_clean.sh
docman-0.0.78 bin/dm_repo_clean.sh
docman-0.0.77 bin/dm_repo_clean.sh
docman-0.0.76 bin/dm_repo_clean.sh
docman-0.0.75 bin/dm_repo_clean.sh
docman-0.0.74 bin/dm_repo_clean.sh
docman-0.0.73 bin/dm_repo_clean.sh
docman-0.0.72 bin/dm_repo_clean.sh
docman-0.0.71 bin/dm_repo_clean.sh
docman-0.0.70 bin/dm_repo_clean.sh
docman-0.0.69 bin/dm_repo_clean.sh
docman-0.0.68 bin/dm_repo_clean.sh