{"thread":{"id":"32318","subject":"[PATCH] git-prompt: Document GIT_PS1_DESCRIBE_STYLE","startedAt":"2012-12-11T23:20:24Z","lastAt":"2012-12-11T23:36:24Z","messageCount":2,"participants":["Anders Kaseorg","Junio C Hamano"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"204705","messageId":"alpine.DEB.2.00.1212111815580.1093@dr-wily.mit.edu","threadId":"32318","inReplyTo":null,"subject":"[PATCH] git-prompt: Document GIT_PS1_DESCRIBE_STYLE","fromName":"Anders Kaseorg","fromEmail":"andersk@mit.edu","sentAt":"2012-12-11T23:20:24Z","receivedAt":"2012-12-11T23:20:24Z","isPatch":true,"sender":{"key":"andersk@mit.edu","avatar":"https://avatars.githubusercontent.com/u/26471?v=4"},"body":"GIT_PS1_DESCRIBE_STYLE was introduced in v1.6.3.2~35.  Document it in the \nheader comments.\n\nSigned-off-by: Anders Kaseorg <andersk@mit.edu>\n---\n contrib/completion/git-prompt.sh | 9 +++++++++\n 1 file changed, 9 insertions(+)\n\ndiff --git a/contrib/completion/git-prompt.sh b/contrib/completion/git-prompt.sh\nindex bf20491..5ab488c 100644\n--- a/contrib/completion/git-prompt.sh\n+++ b/contrib/completion/git-prompt.sh\n@@ -49,6 +49,15 @@\n # find one, or @{upstream} otherwise.  Once you have set\n # GIT_PS1_SHOWUPSTREAM, you can override it on a per-repository basis by\n # setting the bash.showUpstream config variable.\n+#\n+# If you would like to see more information about the identity of\n+# commits checked out as a detached HEAD, set GIT_PS1_DESCRIBE_STYLE\n+# to one of these values:\n+#\n+#     contains      relative to newer annotated tag (v1.6.3.2~35)\n+#     branch        relative to newer tag or branch (master~4)\n+#     describe      relative to older annotated tag (v1.6.3.1-13-gdd42c2f)\n+#     default       exactly matching tag\n \n # __gitdir accepts 0 or 1 arguments (i.e., location)\n # returns location of .git repo\n-- \n1.8.0\n"},{"id":"204706","messageId":"7v38zc6u13.fsf@alter.siamese.dyndns.org","threadId":"32318","inReplyTo":"alpine.DEB.2.00.1212111815580.1093@dr-wily.mit.edu","subject":"Re: [PATCH] git-prompt: Document GIT_PS1_DESCRIBE_STYLE","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2012-12-11T23:36:24Z","receivedAt":"2012-12-11T23:36:24Z","isPatch":true,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"Anders Kaseorg <andersk@MIT.EDU> writes:\n\n> GIT_PS1_DESCRIBE_STYLE was introduced in v1.6.3.2~35.  Document it in the \n> header comments.\n>\n> Signed-off-by: Anders Kaseorg <andersk@mit.edu>\n> ---\n\nThanks.\n\n>  contrib/completion/git-prompt.sh | 9 +++++++++\n>  1 file changed, 9 insertions(+)\n>\n> diff --git a/contrib/completion/git-prompt.sh b/contrib/completion/git-prompt.sh\n> index bf20491..5ab488c 100644\n> --- a/contrib/completion/git-prompt.sh\n> +++ b/contrib/completion/git-prompt.sh\n> @@ -49,6 +49,15 @@\n>  # find one, or @{upstream} otherwise.  Once you have set\n>  # GIT_PS1_SHOWUPSTREAM, you can override it on a per-repository basis by\n>  # setting the bash.showUpstream config variable.\n> +#\n> +# If you would like to see more information about the identity of\n> +# commits checked out as a detached HEAD, set GIT_PS1_DESCRIBE_STYLE\n> +# to one of these values:\n> +#\n> +#     contains      relative to newer annotated tag (v1.6.3.2~35)\n> +#     branch        relative to newer tag or branch (master~4)\n> +#     describe      relative to older annotated tag (v1.6.3.1-13-gdd42c2f)\n> +#     default       exactly matching tag\n>  \n>  # __gitdir accepts 0 or 1 arguments (i.e., location)\n>  # returns location of .git repo\n"}]}