We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 032090e commit ae3d30fCopy full SHA for ae3d30f
1 file changed
bin/git-abort
@@ -21,7 +21,11 @@ validate_op() {
21
exit 1
22
fi
23
if [[ "$(echo "$op" | wc -l)" -gt 1 ]]; then
24
- echo "Multiple active operations found: $op" >&2
+ echo "Multiple active operations found:" >&2
25
+ gitdir="$(git rev-parse --git-dir)" || exit
26
+ for o in $op; do
27
+ echo " - $o: HEAD: $(cat "${gitdir}/${o}_HEAD")" >&2
28
+ done
29
30
31
}
0 commit comments