Brian Gernhardt 70208eb33a git prompt: Fix hang on detached head.
$git_dir was never set in __fish_git_prompt_current_branch, but used
in the case of a detached HEAD.  This caused `cut -c1-7 $git_dir/HEAD`
to expand to `cut -c1-7` which then waited for input.
2013-06-12 16:29:02 -04:00
..
2010-09-18 10:18:26 +08:00
2010-09-18 10:18:26 +08:00
2012-11-17 13:37:32 -08:00
2010-09-18 10:18:26 +08:00
2012-09-22 23:49:26 -07:00
2010-09-18 10:18:26 +08:00
2013-01-20 15:55:10 +01:00
2012-07-01 14:20:43 -07:00
2010-09-18 10:18:26 +08:00
2010-09-18 10:18:26 +08:00
2010-09-18 10:18:26 +08:00
2013-02-17 12:56:56 -08:00
2013-01-12 15:22:09 -08:00
2010-09-19 13:56:30 +08:00
2013-04-28 16:31:25 -07:00
2010-09-18 10:18:26 +08:00