aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Locati <michele@locati.it>2018-03-15 18:36:04 +0100
committerMichele Locati <michele@locati.it>2018-03-15 18:36:04 +0100
commit30bf11d417eb0d65cb3620e44afe4efb8c7a1d09 (patch)
tree00588f51459a5cb2fe9258bd229717192f6c6854
parentd07138f8e7001fc4e497510dcf1ac432725ae6c0 (diff)
downloadincremental-git-filter-branch-30bf11d417eb0d65cb3620e44afe4efb8c7a1d09.zip
incremental-git-filter-branch-30bf11d417eb0d65cb3620e44afe4efb8c7a1d09.tar.gz
incremental-git-filter-branch-30bf11d417eb0d65cb3620e44afe4efb8c7a1d09.tar.bz2
Remove useless .sh file extension
-rw-r--r--.travis.yml2
-rw-r--r--.vscode/launch.json2
-rw-r--r--README.md2
-rwxr-xr-xbin/incremental-git-filterbranch (renamed from bin/incremental-git-filterbranch.sh)0
-rwxr-xr-xtest/bootstrap (renamed from test/bootstrap.sh)2
-rwxr-xr-xtest/run-tests (renamed from test/all-tests.sh)2
-rwxr-xr-xtest/tests/empty-filter-options.fail2
-rwxr-xr-xtest/tests/filter-directory-all-tags.success2
-rwxr-xr-xtest/tests/filter-directory-filtered-tags-bl.success2
-rwxr-xr-xtest/tests/filter-directory-filtered-tags-blrx.success2
-rwxr-xr-xtest/tests/filter-directory-filtered-tags-wl.success2
-rwxr-xr-xtest/tests/filter-directory-filtered-tags-wlrx.success2
-rwxr-xr-xtest/tests/filter-directory-visited-tags.success2
-rwxr-xr-xtest/tests/get-help.success2
-rwxr-xr-xtest/tests/invalid-filter-options.fail2
-rwxr-xr-xtest/tests/misplaced-help.fail2
16 files changed, 15 insertions, 15 deletions
diff --git a/.travis.yml b/.travis.yml
index 3395708..7a79b9f 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -8,4 +8,4 @@ before_script:
- sudo apt-get install --yes git || sudo apt-get upgrade --yes git
script:
- - ./test/all-tests.sh
+ - ./test/run-tests
diff --git a/.vscode/launch.json b/.vscode/launch.json
index 3b885d1..608f4db 100644
--- a/.vscode/launch.json
+++ b/.vscode/launch.json
@@ -8,7 +8,7 @@
"showDebugOutput": false,
"trace": false,
"cwd": "${workspaceFolder}/test",
- "program": "all-tests.sh",
+ "program": "run-tests",
"osx": {
"pathPkill": "/usr/bin/pkill"
}
diff --git a/README.md b/README.md
index 04c6b77..a22efcc 100644
--- a/README.md
+++ b/README.md
@@ -25,7 +25,7 @@ Get the script and read the syntax using the `--help` option.
## Examples
```sh
-./incremental-git-filterbranch.sh \
+./bin/incremental-git-filterbranch \
--branch-whitelist 'develop master rx:release\/.*' \
--tag-blacklist 'rx:5\..*' \
--tags-plan all --tags-max-history-lookup 10 \
diff --git a/bin/incremental-git-filterbranch.sh b/bin/incremental-git-filterbranch
index eb24b0f..eb24b0f 100755
--- a/bin/incremental-git-filterbranch.sh
+++ b/bin/incremental-git-filterbranch
diff --git a/test/bootstrap.sh b/test/bootstrap
index 47db6ea..fe9c0ba 100755
--- a/test/bootstrap.sh
+++ b/test/bootstrap
@@ -19,7 +19,7 @@ DIR_TEMP="${DIR_TEST}/temp"
DIR_SOURCE="${DIR_TEMP}/source"
DIR_DESTINATION="${DIR_TEMP}/destination"
-BIN_MAIN="${DIR_BIN}/incremental-git-filterbranch.sh"
+BIN_MAIN="${DIR_BIN}/incremental-git-filterbranch"
if test ! -f "${BIN_MAIN}"
then
echo 'Failed to detect environment'>&2
diff --git a/test/all-tests.sh b/test/run-tests
index be10e10..8be4720 100755
--- a/test/all-tests.sh
+++ b/test/run-tests
@@ -1,7 +1,7 @@
#!/bin/sh
IS_TEST_CASE=0
-if ! . "$(cd -- "$(dirname -- "$0")" && pwd -P)/bootstrap.sh"
+if ! . "$(cd -- "$(dirname -- "$0")" && pwd -P)/bootstrap"
then
echo 'Unable to find bootstrap script'>&2
exit 1
diff --git a/test/tests/empty-filter-options.fail b/test/tests/empty-filter-options.fail
index ebfcbfb..4e865e5 100755
--- a/test/tests/empty-filter-options.fail
+++ b/test/tests/empty-filter-options.fail
@@ -1,5 +1,5 @@
#!/bin/sh
-. "$(cd -- "$(dirname -- "$0")" && pwd -P)/../bootstrap.sh"
+. "$(cd -- "$(dirname -- "$0")" && pwd -P)/../bootstrap"
"${BIN_MAIN}" --workdir "${DIR_TEMP}" -- "${DIR_SOURCE}" '' "${DIR_DESTINATION}"
diff --git a/test/tests/filter-directory-all-tags.success b/test/tests/filter-directory-all-tags.success
index f9a1017..035317a 100755
--- a/test/tests/filter-directory-all-tags.success
+++ b/test/tests/filter-directory-all-tags.success
@@ -1,6 +1,6 @@
#!/bin/sh
-. "$(cd -- "$(dirname -- "${0}")" && pwd -P)/../bootstrap.sh"
+. "$(cd -- "$(dirname -- "${0}")" && pwd -P)/../bootstrap"
initializeRepositories
diff --git a/test/tests/filter-directory-filtered-tags-bl.success b/test/tests/filter-directory-filtered-tags-bl.success
index 8bc0c46..082d39c 100755
--- a/test/tests/filter-directory-filtered-tags-bl.success
+++ b/test/tests/filter-directory-filtered-tags-bl.success
@@ -1,6 +1,6 @@
#!/bin/sh
-. "$(cd -- "$(dirname -- "${0}")" && pwd -P)/../bootstrap.sh"
+. "$(cd -- "$(dirname -- "${0}")" && pwd -P)/../bootstrap"
initializeRepositories
diff --git a/test/tests/filter-directory-filtered-tags-blrx.success b/test/tests/filter-directory-filtered-tags-blrx.success
index ff6e155..6e70290 100755
--- a/test/tests/filter-directory-filtered-tags-blrx.success
+++ b/test/tests/filter-directory-filtered-tags-blrx.success
@@ -1,6 +1,6 @@
#!/bin/sh
-. "$(cd -- "$(dirname -- "${0}")" && pwd -P)/../bootstrap.sh"
+. "$(cd -- "$(dirname -- "${0}")" && pwd -P)/../bootstrap"
initializeRepositories
diff --git a/test/tests/filter-directory-filtered-tags-wl.success b/test/tests/filter-directory-filtered-tags-wl.success
index 3e08be0..5383fa2 100755
--- a/test/tests/filter-directory-filtered-tags-wl.success
+++ b/test/tests/filter-directory-filtered-tags-wl.success
@@ -1,6 +1,6 @@
#!/bin/sh
-. "$(cd -- "$(dirname -- "${0}")" && pwd -P)/../bootstrap.sh"
+. "$(cd -- "$(dirname -- "${0}")" && pwd -P)/../bootstrap"
initializeRepositories
diff --git a/test/tests/filter-directory-filtered-tags-wlrx.success b/test/tests/filter-directory-filtered-tags-wlrx.success
index 7e101a0..f01c51d 100755
--- a/test/tests/filter-directory-filtered-tags-wlrx.success
+++ b/test/tests/filter-directory-filtered-tags-wlrx.success
@@ -1,6 +1,6 @@
#!/bin/sh
-. "$(cd -- "$(dirname -- "${0}")" && pwd -P)/../bootstrap.sh"
+. "$(cd -- "$(dirname -- "${0}")" && pwd -P)/../bootstrap"
initializeRepositories
diff --git a/test/tests/filter-directory-visited-tags.success b/test/tests/filter-directory-visited-tags.success
index eec88ee..f23a749 100755
--- a/test/tests/filter-directory-visited-tags.success
+++ b/test/tests/filter-directory-visited-tags.success
@@ -1,6 +1,6 @@
#!/bin/sh
-. "$(cd -- "$(dirname -- "${0}")" && pwd -P)/../bootstrap.sh"
+. "$(cd -- "$(dirname -- "${0}")" && pwd -P)/../bootstrap"
initializeRepositories
diff --git a/test/tests/get-help.success b/test/tests/get-help.success
index 58036a8..8be9fa1 100755
--- a/test/tests/get-help.success
+++ b/test/tests/get-help.success
@@ -1,6 +1,6 @@
#!/bin/sh
-. "$(cd -- "$(dirname -- "$0")" && pwd -P)/../bootstrap.sh"
+. "$(cd -- "$(dirname -- "$0")" && pwd -P)/../bootstrap"
"${BIN_MAIN}" -h
"${BIN_MAIN}" --help
diff --git a/test/tests/invalid-filter-options.fail b/test/tests/invalid-filter-options.fail
index b830d36..a6af95a 100755
--- a/test/tests/invalid-filter-options.fail
+++ b/test/tests/invalid-filter-options.fail
@@ -1,5 +1,5 @@
#!/bin/sh
-. "$(cd -- "$(dirname -- "$0")" && pwd -P)/../bootstrap.sh"
+. "$(cd -- "$(dirname -- "$0")" && pwd -P)/../bootstrap"
"${BIN_MAIN}" --workdir "${DIR_TEMP}" -- "${DIR_SOURCE}" b "${DIR_DESTINATION}"
diff --git a/test/tests/misplaced-help.fail b/test/tests/misplaced-help.fail
index a5c2e8f..8803df3 100755
--- a/test/tests/misplaced-help.fail
+++ b/test/tests/misplaced-help.fail
@@ -1,5 +1,5 @@
#!/bin/sh
-. "$(cd -- "$(dirname -- "$0")" && pwd -P)/../bootstrap.sh"
+. "$(cd -- "$(dirname -- "$0")" && pwd -P)/../bootstrap"
"${BIN_MAIN}" -- --help

© 2014-2020 Faster IT GmbH | imprint | privacy policy