addet more failproof gwip
This commit is contained in:
parent
db7ac16675
commit
4c6a312761
1 changed files with 1 additions and 1 deletions
|
@ -473,7 +473,7 @@ __git__() {
|
|||
|
||||
# Check if there are any changes on the remote branch
|
||||
if git diff --quiet "$branch" "origin/$branch"; then
|
||||
if [ -n "$2" ]; then
|
||||
if [ -n $2 ]; then
|
||||
local commit_files="${1:-.}"
|
||||
local commit_message="${2:-wip}"
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue