<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/Documentation/git-bugreport.txt, branch v2.41.3</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v2.41.3</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v2.41.3'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2022-08-12T20:20:02Z</updated>
<entry>
<title>builtin/bugreport.c: create '--diagnose' option</title>
<updated>2022-08-12T20:20:02Z</updated>
<author>
<name>Victoria Dye</name>
<email>vdye@github.com</email>
</author>
<published>2022-08-12T20:10:17Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=aac0e8ffeeed57cae2a047fd442f2125cbfc8e39'/>
<id>urn:sha1:aac0e8ffeeed57cae2a047fd442f2125cbfc8e39</id>
<content type='text'>
Create a '--diagnose' option for 'git bugreport' to collect additional
information about the repository and write it to a zipped archive.

The '--diagnose' option behaves effectively as an alias for simultaneously
running 'git bugreport' and 'git diagnose'. In the documentation, users are
explicitly recommended to attach the diagnostics alongside a bug report to
provide additional context to readers, ideally reducing some back-and-forth
between reporters and those debugging the issue.

Note that '--diagnose' may take an optional string arg (either 'stats' or
'all'). If specified without the arg, the behavior corresponds to running
'git diagnose' without '--mode'. As with 'git diagnose', this default is
intended to help reduce unintentional leaking of sensitive information).
Users can also explicitly specify '--diagnose=(stats|all)' to generate the
respective archive created by 'git diagnose --mode=(stats|all)'.

Suggested-by: Ævar Arnfjörð Bjarmason &lt;avarab@gmail.com&gt;
Helped-by: Derrick Stolee &lt;derrickstolee@github.com&gt;
Signed-off-by: Victoria Dye &lt;vdye@github.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Documentation: fix default directory of git bugreport -o</title>
<updated>2021-09-07T21:25:13Z</updated>
<author>
<name>Bagas Sanjaya</name>
<email>bagasdotme@gmail.com</email>
</author>
<published>2021-09-03T11:59:34Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=ca0cc98e03e870f9b82b31f00b5c6ae422528e46'/>
<id>urn:sha1:ca0cc98e03e870f9b82b31f00b5c6ae422528e46</id>
<content type='text'>
git bugreport writes bug report to the current directory by default,
instead of repository root.

Fix the documentation.

Signed-off-by: Bagas Sanjaya &lt;bagasdotme@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'es/bugreport-shell'</title>
<updated>2020-06-09T01:06:28Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2020-06-09T01:06:28Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=ce095ecfe49791508860fc180bf67924d62503ba'/>
<id>urn:sha1:ce095ecfe49791508860fc180bf67924d62503ba</id>
<content type='text'>
"git bugreport" learns to report what shell is in use.

* es/bugreport-shell:
  bugreport: include user interactive shell
  help: add shell-path to --build-options
</content>
</entry>
<entry>
<title>Merge branch 'es/bugreport'</title>
<updated>2020-05-20T15:33:30Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2020-05-20T15:33:29Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=22954ba04d88d0962cf12657bd9eddf8b8d22f78'/>
<id>urn:sha1:22954ba04d88d0962cf12657bd9eddf8b8d22f78</id>
<content type='text'>
Doc fix.

* es/bugreport:
  git-bugreport.txt: adjust reference to strftime(3)
</content>
</entry>
<entry>
<title>git-bugreport.txt: adjust reference to strftime(3)</title>
<updated>2020-05-18T19:54:53Z</updated>
<author>
<name>Todd Zullinger</name>
<email>tmz@pobox.com</email>
</author>
<published>2020-05-18T19:37:36Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=01b62aaf11a0cbaa1ddce8a9e2b9940985a103af'/>
<id>urn:sha1:01b62aaf11a0cbaa1ddce8a9e2b9940985a103af</id>
<content type='text'>
The strftime(3) man page is outside of the Git suite.  Refererence it as
we do other external man pages and avoid creating a broken link when
generating the HTML documentation.

Signed-off-by: Todd Zullinger &lt;tmz@pobox.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>bugreport: include user interactive shell</title>
<updated>2020-05-13T05:02:20Z</updated>
<author>
<name>Emily Shaffer</name>
<email>emilyshaffer@google.com</email>
</author>
<published>2020-05-12T23:42:13Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=4a4804edf4d5f96407fc46eda802a3b29d991e33'/>
<id>urn:sha1:4a4804edf4d5f96407fc46eda802a3b29d991e33</id>
<content type='text'>
It's possible a user may complain about the way that Git interacts with
their interactive shell, e.g. autocompletion or shell prompt. In that
case, it's useful for us to know which shell they're using
interactively.

Signed-off-by: Emily Shaffer &lt;emilyshaffer@google.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>bugreport: collect list of populated hooks</title>
<updated>2020-05-08T01:25:04Z</updated>
<author>
<name>Emily Shaffer</name>
<email>emilyshaffer@google.com</email>
</author>
<published>2020-05-08T00:53:57Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=788a776069bffcbb7d0dd9b70d521826f97285b7'/>
<id>urn:sha1:788a776069bffcbb7d0dd9b70d521826f97285b7</id>
<content type='text'>
Occasionally a failure a user is seeing may be related to a specific
hook which is being run, perhaps without the user realizing. While the
contents of hooks can be sensitive - containing user data or process
information specific to the user's organization - simply knowing that a
hook is being run at a certain stage can help us to understand whether
something is going wrong.

Without a definitive list of hook names within the code, we compile our
own list from the documentation. This is likely prone to bitrot, but
designing a single source of truth for acceptable hooks is too much
overhead for this small change to the bugreport tool.

Signed-off-by: Emily Shaffer &lt;emilyshaffer@google.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>bugreport: add compiler info</title>
<updated>2020-04-16T22:23:42Z</updated>
<author>
<name>Emily Shaffer</name>
<email>emilyshaffer@google.com</email>
</author>
<published>2020-04-16T21:18:07Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=69bcbbceb74904e4f0f5001453072a34e3fed740'/>
<id>urn:sha1:69bcbbceb74904e4f0f5001453072a34e3fed740</id>
<content type='text'>
To help pinpoint the source of a regression, it is useful to know some
info about the compiler which the user's Git client was built with. By
adding a generic get_compiler_info() in 'compat/' we can choose which
relevant information to share per compiler; to get started, let's
demonstrate the version of glibc if the user built with 'gcc'.

Signed-off-by: Emily Shaffer &lt;emilyshaffer@google.com&gt;
Helped-by: Đoàn Trần Công Danh &lt;congdanhqx@gmail.com&gt;
Helped-by: Johannes Schindelin &lt;Johannes.Schindelin@gmx.de&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>bugreport: add uname info</title>
<updated>2020-04-16T22:23:42Z</updated>
<author>
<name>Emily Shaffer</name>
<email>emilyshaffer@google.com</email>
</author>
<published>2020-04-16T21:18:06Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=1411914a1cbd6f5680e33db9817a1aecb01f8817'/>
<id>urn:sha1:1411914a1cbd6f5680e33db9817a1aecb01f8817</id>
<content type='text'>
The contents of uname() can give us some insight into what sort of
system the user is running on, and help us replicate their setup if need
be. The domainname field is not guaranteed to be available, so don't
collect it.

Signed-off-by: Emily Shaffer &lt;emilyshaffer@google.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>bugreport: gather git version and build info</title>
<updated>2020-04-16T22:23:42Z</updated>
<author>
<name>Emily Shaffer</name>
<email>emilyshaffer@google.com</email>
</author>
<published>2020-04-16T21:18:05Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=617d57195ae844a43486b2e0ad0b7ac36aaddfdd'/>
<id>urn:sha1:617d57195ae844a43486b2e0ad0b7ac36aaddfdd</id>
<content type='text'>
Knowing which version of Git a user has and how it was built allows us
to more precisely pin down the circumstances when a certain issue
occurs, so teach bugreport how to tell us the same output as 'git
version --build-options'.

It's not ideal to directly call 'git version --build-options' because
that output goes to stdout. Instead, wrap the version string in a helper
within help.[ch] library, and call that helper from within the bugreport
library.

Signed-off-by: Emily Shaffer &lt;emilyshaffer@google.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
</feed>
