Commit Graph

32 Commits

Author SHA1 Message Date
Johan Abildskov
c0b2e5256c Add two words to clarify 2018-08-27 09:23:02 +02:00
Johan Abildskov
73e31f6f70 Rephrase wording on giterr_last documentation 2018-08-20 12:08:50 +02:00
Johan Abildskov
3602b57328 Document giterr_last() use only after error. #4772 2018-08-20 10:12:00 +02:00
Patrick Steinhardt
12804c4600 cmake: remove USE_SANITIZER and USE_COVERAGE options
Both the USE_SANITIZER and USE_COVERAGE options are convenience options
that turn on a set of CFLAGS. Despite our own set of CFLAGS required to
build libgit2, we have no real business to mess with them, though, as
they can easily be passed in by the user via specifying the CFLAGS
environment variable. The reasoning behind not providing them is that as
soon as we start adding those for some usecases, users might ask for
other sets of CFLAGS catering to their specific need in another usecase.
Thus, we do not want to support them here.
2018-08-03 09:50:35 +02:00
Patrick Steinhardt
bf3382d544 cmake: remove need to add "-fsanitize=fuzzer" flag for fuzzers
Right now, users are being instrucded to add the
"-DCMAKE_EXE_LINKER_FLAGS=-fsanitize=fuzzer" flag when they want to
build our fuzzers. This is error-prone and user unfriendly. Instead,
just add the flag to our fuzzers' build instructions so that it happens
automatically. Adjust the README accordingly.
2018-08-03 09:50:35 +02:00
Patrick Steinhardt
ad087303df fuzzers: move readme to docs/fuzzing.md 2018-08-03 09:50:35 +02:00
Edward Thomson
243d40df23 docs: add unsaved index safety to changelog 2018-06-29 14:54:29 +01:00
Patrick Steinhardt
0bfe5f781d docs: fix statement about tab width
The libgit2 project mostly follows the coding style of git and thus
the linux project. While those two projects use a recommended tab width
of eight spaces, we instruct users to set their editor's tab width to
four spaces. Fix this to say eight instead.
2018-06-12 10:42:53 +02:00
Edward Thomson
f81923efbe Merge branch 'pks/docs-improvements' 2018-06-09 18:31:57 +01:00
Edward Thomson
8a2de3538c Merge branch 'compat/clibs' 2018-06-09 18:25:46 +01:00
Edward Thomson
5e53f216dc docs: update release steps to include clib manifest
We've introduced a manifest for the clib version system that includes a
version number; we should update it at release time to correspond with
the version number in the header.
2018-06-09 18:24:27 +01:00
Patrick Steinhardt
68a3c0b124 docs: reorganize documents
Our non-technical documents are currently floating around loosely in our
project's root, making it harden than necessary to discover what one is
searching for. We do have a "docs/" directory, though, which serves
exactly that purpose of hosting documentation.

Move our non-technical documentation into the "docs/" directory. Adjust
all links to these documents.
2018-05-30 11:11:07 +02:00
Jason Haslam
d54c34a77a docs: added note regarding difference in treatment of junction points from git 2018-05-21 17:04:11 -06:00
Carson Howard
77799325f4 docs: update differences-from-git to be more concise 2018-05-02 07:46:53 -07:00
Carson Howard
0f69a3242c docs: add documentation to state differences from the git cli 2018-03-30 08:43:02 -07:00
Patrick Steinhardt
ad006d8781 docs: document increasing the version number for releases 2018-02-20 16:49:39 +00:00
Patrick Steinhardt
bb7c672ae5 docs: fix typo in "release.md" filename 2018-02-15 11:06:40 +00:00
Carlos Martín Nieto
adc90b472d docs: udpates to wording in release documentation 2018-01-27 21:00:53 +01:00
Carlos Martín Nieto
0356910944 docs: add release documentation
This should provide the release manager enough to know which steps to take when
it's time to cut a new release.
2018-01-19 16:41:37 +00:00
Jason Haslam
afab1fff01 checkout: handle dirty submodules correctly
Don't generate conflicts when checking out a modified submodule and the
submodule is dirty or modified in the workdir.
2016-05-26 01:11:34 -05:00
Stjepan Rajko
2b96b6ef0c Fix docs typo geterr_clear -> giterr_clear 2015-10-26 10:21:09 -07:00
Nicolas Kaiser
27f680a998 fix typos in docs 2013-12-01 10:35:56 +01:00
Russell Belfer
aa94acf0bc The error handling docs are out of date
The error handling docs date back to the early error redesign
work and don't match up with the route we actually took.  This
brings them in line with actual practice both for external users
and internal implementors, and notes some of the exceptions and
possible bugs.
2013-09-25 11:53:02 -07:00
Vicent Martí
b294f97e11 Merge pull request #1873 from mikeando/doc_cleanup
Cleaned up some tables in checkout-internals doc
2013-09-25 01:41:17 -07:00
Mike Anderson
6918d81e2c Fixed formatting of diff-internals.md
Indentation for lists was not working correctly.
2013-09-25 11:14:06 +08:00
Mike Anderson
53e0636cbd Cleaned up some tables in checkout-internals doc
The markdown wasn't rendering correctly.
2013-09-25 11:06:05 +08:00
Russell Belfer
5dc98298a1 Implement regex pattern diff driver
This implements the loading of regular expression pattern lists
for diff drivers that search for function context in that way.
This also changes the way that diff drivers update options and
interface with xdiff APIs to make them a little more flexible.
2013-06-11 11:22:22 -07:00
Russell Belfer
114f5a6c41 Reorganize diff and add basic diff driver
This is a significant reorganization of the diff code to break it
into a set of more clearly distinct files and to document the new
organization.  Hopefully this will make the diff code easier to
understand and to extend.

This adds a new `git_diff_driver` object that looks of diff driver
information from the attributes and the config so that things like
function content in diff headers can be provided.  The full driver
spec is not implemented in the commit - this is focused on the
reorganization of the code and putting the driver hooks in place.

This also removes a few #includes from src/repository.h that were
overbroad, but as a result required extra #includes in a variety
of places since including src/repository.h no longer results in
pulling in the whole world.
2013-06-10 10:10:39 -07:00
Edward Thomson
bec65a5e99 merge! 2013-04-30 15:31:31 -05:00
Russell Belfer
77cffa31db Simplify checkout documentation
This moves a lot of the detailed checkout documentation into a new
file (docs/checkout-internals.md) and simplifies the public docs
for the checkout API.
2013-01-04 15:47:43 -08:00
Bruce Mitchener
d73c94b21c Fix spelling errors. 2012-05-19 20:26:52 +07:00
Vicent Martí
845f8314e4 error-handling: Add reference documentation 2012-03-03 02:28:00 +01:00