diff options
| author | Louis Burda <quent.burda@gmail.com> | 2024-05-10 01:59:49 +0200 |
|---|---|---|
| committer | Louis Burda <quent.burda@gmail.com> | 2024-05-10 01:59:49 +0200 |
| commit | 386f01da2126f80ec1db85430da27d595a466a5f (patch) | |
| tree | 0600467c5481d6758c36c5759ce354c550333701 | |
| parent | 3394c5fa78844f646ce036858ccafb6cb2e1ebe8 (diff) | |
| download | subgit-386f01da2126f80ec1db85430da27d595a466a5f.tar.gz subgit-386f01da2126f80ec1db85430da27d595a466a5f.zip | |
Remove arugment check from subgit-write
| -rwxr-xr-x | subgit | 2 | ||||
| -rwxr-xr-x | subgit-write | 2 |
2 files changed, 1 insertions, 3 deletions
@@ -31,4 +31,4 @@ if [ -z "$(which "subgit-$cmd" 2>/dev/null)" ]; then fi trap 'echo "Error at during $cmd"' ERR -( source "subgit-$cmd" "$@"; ) +( source "subgit-$cmd"; ) diff --git a/subgit-write b/subgit-write index 5d4418f..cf3a556 100755 --- a/subgit-write +++ b/subgit-write @@ -1,7 +1,5 @@ #!/bin/bash -[ $# -ne 0 ] && die "Usage: subgit init" - repo=$(realpath "$(git rev-parse --show-toplevel)") echo -e "#!/bin/bash\n" > "$repo/.subgitrc" |
