Commit 39e7ad77 authored by Frank Terbeck's avatar Frank Terbeck

Match cd's auto-push behaviour

parent 1c9d4a12
......@@ -240,7 +240,6 @@ function VCSUP_pop() {
function VCSUP_push() {
local maxsize
local -i nodups
[[ "x$VCSUPPUSHGUARD" == 'x-guarded-' ]] && return 0
if (( ${#argv} == 0 )); then
set -- $PWD
fi
......@@ -265,7 +264,6 @@ function VCSUP_push() {
function VCSUP_from_() {
local -i ret
local VCSUPPUSHGUARD='-guarded-'
VCSUP_pop $1
ret=$?
if (( ret == 2 )); then
......@@ -276,7 +274,6 @@ function VCSUP_from_() {
VCSUP_cd "${REPLY}"
ret=$?
fi
unset VCSUPPUSHGUARD
return $ret
}
......
......@@ -221,6 +221,7 @@ expect_stack "Many entries on the stack #4" \
comma +
expect_stack "Many entries on the stack #5" \
$base/src/drivers/uart \
$base/src/periph/usb \
$base/src/periph/mu \
$base/src/periph \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment