Fix infinite loop in shell with babun (cygwin)

This commit is contained in:
Brian Peiris
2016-04-11 05:10:36 -04:00
parent b6531e8379
commit 0d80de33e6

2
lib/git/fallback/status_shortcuts_shell.sh Normal file → Executable file
View File

@@ -127,7 +127,7 @@ _gs_output_file_group() {
if [ -z "$project_root" ]; then if [ -z "$project_root" ]; then
relative="${stat_file[$i]}" relative="${stat_file[$i]}"
else else
dest="$project_root/${stat_file[$i]}" dest=$(readlink -f "$project_root/${stat_file[$i]}")
local pwd=$(readlink -f "$PWD") local pwd=$(readlink -f "$PWD")
relative="$(_gs_relative_path "$pwd" "$dest" )" relative="$(_gs_relative_path "$pwd" "$dest" )"
fi fi