+ QUILT_PATCHES=$(QUILT_PATCH_DIR) quilt pop -a 2>/dev/null || :
+ @if quilt applied >/dev/null 2>&1; then \
+ echo "E: there are applied quilt patches." >&2; \
+ echo "E: please unapply (pop) all patches and try again." >&2; \
+ false; \
+ fi
+ @git update-index -q --ignore-submodules --refresh
+ @if git diff-index --quiet --cached HEAD --ignore-submodules -- > /dev/null || git diff-files --quiet --ignore-submodules > /dev/null; then \
+ echo "E: there are uncommitted changes in the working directory." >&2; \
+ echo "E: please commit or revert all changes." >&2; \
+ false; \
+ fi