Files
git/Documentation
Junio C Hamano a0f4280f9e Fix git-fetch while on detached HEAD not to give needlessly alarming errors
When we are on a detached HEAD, there is no current branch.
There is no reason to leak the error messages to the end user
since this is a situation we expect to see.

This adds -q option to git-symbolic-ref to exit without issuing
an error message if the given name is not a symbolic ref.

By the way, with or without this patch, there currently is no
good way to tell failure modes between "git symbolic-ref HAED"
and "git symbolic-ref HEAD".  Both says "is not a symbolic ref".

We may want to do something about it.

Signed-off-by: Junio C Hamano <junkio@cox.net>
2007-01-15 15:35:07 -08:00
..
2005-11-08 08:58:52 -08:00
2006-12-13 09:41:18 -08:00
2007-01-14 21:12:14 -08:00
2007-01-08 14:45:59 -08:00
2006-05-24 22:29:23 -07:00
2006-06-07 11:49:35 -07:00
2006-07-09 02:42:41 -07:00
2006-09-27 23:59:09 -07:00
2007-01-11 12:58:10 -08:00
2006-07-09 02:42:41 -07:00
2006-07-09 02:42:41 -07:00
2006-06-03 23:54:55 -07:00
2007-01-14 21:12:14 -08:00
2006-11-06 22:56:07 -08:00
2006-10-22 22:51:42 -07:00
2007-01-14 21:12:14 -08:00
2006-11-07 16:33:59 -08:00
2006-12-25 03:29:08 -08:00
2006-11-18 14:04:45 -08:00
2006-06-03 23:54:55 -07:00
2006-11-19 22:59:05 -08:00
2007-01-03 12:31:43 -08:00
2006-07-09 02:42:41 -07:00
2006-09-09 11:57:37 -07:00
2006-06-21 02:34:14 -07:00
2006-05-01 22:29:16 -07:00
2006-09-20 09:00:14 -07:00
2007-01-12 14:13:53 -08:00
2006-06-24 01:11:19 -07:00
2007-01-14 21:12:14 -08:00