diff --git a/go/store/cmd/noms/splunk.pl b/go/store/cmd/noms/splunk.pl index fce7847677..da9219b8a7 100755 --- a/go/store/cmd/noms/splunk.pl +++ b/go/store/cmd/noms/splunk.pl @@ -14,8 +14,7 @@ print "Welcome to the splunk shell for exploring dolt repository storage.\n"; my $root = `noms root $noms_dir`; -my $message = "Currently examining root.\nUse numeric labels to navigate the tree\n.. to back up a level, / to return to root.\nType quit or exit to exit.\n"; - +my $message = "Currently examining root.\nUse numeric labels to navigate the tree\n.. to back up a level, / to return reload root and return there.\nType quit or exit to exit.\n"; my $hash = $root; my @stack = ($root); @@ -45,6 +44,7 @@ while (true) { } if ($input eq "/") { + $root = `noms root $noms_dir`; $hash = $root; @stack = ($root); next;