Skip to content

Commit

Permalink
Use --porcelain instead of --short for git status
Browse files Browse the repository at this point in the history
Since --porcelain is guaranteed stable across future git versions.
  • Loading branch information
EliahKagan committed Apr 9, 2024
1 parent a5c46f4 commit 1103b97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion etc/copy-packetline.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ function merging () {
}

function target_dir_status () {
git status --short --ignored=traditional -- "$target_dir" ||
git status --porcelain --ignored=traditional -- "$target_dir" ||
fail 'git-status failed'
}

Expand Down

0 comments on commit 1103b97

Please sign in to comment.