1
0
mirror of https://github.com/git/git.git synced 2024-09-28 19:42:15 +02:00
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
..
howto use 'init' instead of 'init-db' for shipped docs and tools 2007-01-12 13:36:16 -08:00
technical Update send-pack pipeline documentation. 2007-01-01 14:35:16 -08:00
.gitignore
asciidoc.conf
build-docdep.perl
callouts.xsl
config.txt Allow the user to control the verbosity of merge-recursive. 2007-01-14 12:20:39 -08:00
core-tutorial.txt Documentation: merge-output is not too verbose now. 2007-01-14 21:31:30 -08:00
cvs-migration.txt use 'init' instead of 'init-db' for shipped docs and tools 2007-01-12 13:36:16 -08:00
diff-format.txt
diff-options.txt Document --numstat in git-apply and git-diff 2006-12-26 00:15:26 -08:00
diffcore.txt
everyday.txt some doc updates 2007-01-14 21:12:14 -08:00
fetch-options.txt Update clone/fetch documentation with --depth (shallow clone) option 2007-01-01 15:08:06 -08:00
git-add.txt
git-am.txt --utf8 is now default for 'git-am' 2007-01-08 14:45:59 -08:00
git-annotate.txt
git-apply.txt Document --numstat in git-apply and git-diff 2006-12-26 00:15:26 -08:00
git-applymbox.txt -u is now default for 'git-applymbox' 2007-01-09 21:20:39 -08:00
git-applypatch.txt
git-archimport.txt
git-archive.txt
git-bisect.txt
git-blame.txt
git-branch.txt Add documentation for git-branch's color configuration. 2007-01-03 08:16:02 -08:00
git-cat-file.txt
git-check-ref-format.txt
git-checkout-index.txt
git-checkout.txt
git-cherry-pick.txt
git-cherry.txt
git-clean.txt
git-clone.txt Describe git-clone's actual behavior in the summary 2007-01-06 10:40:54 -08:00
git-commit-tree.txt Documentation: i18n commit log message notes. 2006-12-30 02:36:08 -08:00
git-commit.txt git-commit documentation: -a adds and also removes 2007-01-13 12:26:13 -08:00
git-convert-objects.txt
git-count-objects.txt count-objects -v: show number of packs as well. 2006-12-27 01:05:00 -08:00
git-cvsexportcommit.txt
git-cvsimport.txt cvsimport: document -S and -L options 2007-01-08 03:01:32 -08:00
git-cvsserver.txt
git-daemon.txt
git-describe.txt Improve git-describe performance by reducing revision listing. 2007-01-14 21:17:27 -08:00
git-diff-files.txt
git-diff-index.txt
git-diff-stages.txt
git-diff-tree.txt
git-diff.txt
git-fetch-pack.txt
git-fetch.txt
git-fmt-merge-msg.txt
git-for-each-ref.txt
git-format-patch.txt
git-fsck-objects.txt
git-gc.txt Create 'git gc' to perform common maintenance operations. 2006-12-27 01:53:03 -08:00
git-get-tar-commit-id.txt
git-grep.txt
git-hash-object.txt
git-http-fetch.txt
git-http-push.txt
git-imap-send.txt
git-index-pack.txt
git-init-db.txt Document git-init 2007-01-11 12:58:10 -08:00
git-init.txt use 'init' instead of 'init-db' for shipped docs and tools 2007-01-12 13:36:16 -08:00
git-instaweb.txt
git-local-fetch.txt
git-log.txt git log documentation: teach -<n> form. 2007-01-14 18:23:22 -08:00
git-lost-found.txt
git-ls-files.txt
git-ls-remote.txt
git-ls-tree.txt
git-mailinfo.txt -u is now default for 'git-mailinfo'. 2007-01-09 21:32:49 -08:00
git-mailsplit.txt
git-merge-base.txt
git-merge-file.txt
git-merge-index.txt
git-merge-one-file.txt
git-merge-tree.txt
git-merge.txt Use GIT_REFLOG_ACTION environment variable instead. 2006-12-28 01:05:15 -08:00
git-mktag.txt
git-mktree.txt
git-mv.txt
git-name-rev.txt
git-p4import.txt use 'init' instead of 'init-db' for shipped docs and tools 2007-01-12 13:36:16 -08:00
git-pack-objects.txt
git-pack-redundant.txt
git-pack-refs.txt --prune is now default for 'pack-refs' 2007-01-08 14:46:00 -08:00
git-parse-remote.txt
git-patch-id.txt
git-peek-remote.txt
git-prune-packed.txt Make git-prune-packed a bit more chatty. 2007-01-12 15:10:29 -08:00
git-prune.txt
git-pull.txt some doc updates 2007-01-14 21:12:14 -08:00
git-push.txt
git-quiltimport.txt
git-read-tree.txt
git-rebase.txt
git-receive-pack.txt
git-reflog.txt git reflog expire: document --stale-fix option. 2007-01-15 14:43:03 -08:00
git-relink.txt
git-remote.txt Documentation: add git-remote man page 2007-01-08 21:42:37 -08:00
git-repack.txt
git-repo-config.txt Teach Git how to parse standard power of 2 suffixes. 2006-12-30 22:22:14 -08:00
git-request-pull.txt
git-rerere.txt some doc updates 2007-01-14 21:12:14 -08:00
git-reset.txt Documentation: merge-output is not too verbose now. 2007-01-14 21:31:30 -08:00
git-resolve.txt
git-rev-list.txt Move commit reencoding parameter parsing to revision.c 2006-12-30 15:58:32 -08:00
git-rev-parse.txt
git-revert.txt
git-rm.txt
git-runstatus.txt
git-send-email.txt
git-send-pack.txt
git-sh-setup.txt
git-shell.txt
git-shortlog.txt
git-show-branch.txt
git-show-index.txt
git-show-ref.txt
git-show.txt Documentation: minor rewording for git-log and git-show pages. 2006-12-30 02:36:13 -08:00
git-ssh-fetch.txt
git-ssh-upload.txt
git-status.txt
git-stripspace.txt
git-svn.txt use 'init' instead of 'init-db' for shipped docs and tools 2007-01-12 13:36:16 -08:00
git-svnimport.txt git-svnimport: support for incremental import 2007-01-06 22:47:58 -08:00
git-symbolic-ref.txt Fix git-fetch while on detached HEAD not to give needlessly alarming errors 2007-01-15 15:35:07 -08:00
git-tag.txt git-tag: add flag to verify a tag 2007-01-03 12:31:43 -08:00
git-tar-tree.txt
git-tools.txt
git-unpack-file.txt
git-unpack-objects.txt
git-update-index.txt
git-update-ref.txt
git-update-server-info.txt
git-upload-archive.txt
git-upload-pack.txt
git-var.txt
git-verify-pack.txt
git-verify-tag.txt
git-whatchanged.txt
git-write-tree.txt
git.txt use 'init' instead of 'init-db' for shipped docs and tools 2007-01-12 13:36:16 -08:00
gitk.txt
glossary.txt glossary typofix 2007-01-12 14:13:53 -08:00
hooks.txt use 'init' instead of 'init-db' for shipped docs and tools 2007-01-12 13:36:16 -08:00
howto-index.sh
i18n.txt Documentation: i18n commit log message notes. 2006-12-30 02:36:08 -08:00
install-doc-quick.sh
install-webdoc.sh
Makefile
merge-options.txt
merge-strategies.txt
pretty-formats.txt Move commit reencoding parameter parsing to revision.c 2006-12-30 15:58:32 -08:00
pull-fetch-param.txt Documentation: remove master:origin example from pull-fetch-param.txt 2007-01-01 14:38:08 -08:00
repository-layout.txt use 'init' instead of 'init-db' for shipped docs and tools 2007-01-12 13:36:16 -08:00
sort_glossary.pl
SubmittingPatches
tutorial-2.txt "init-db" can really be just "init" 2007-01-07 18:03:07 -08:00
tutorial.txt some doc updates 2007-01-14 21:12:14 -08:00
urls.txt Fix formatting for urls section of fetch, pull, and push manpages 2006-12-31 18:40:17 -08:00