Commits
- Commit:
d7b5a0e827bb38e5c8502f0ba8d7838fedaba19b
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
inline struct got_object_id in struct got_object_qid
Saves us from doing a malloc/free call for every item on the list.
ok op@
- Commit:
56b63ca4ab1049de6fa2d6910ce22c16e2b42a53
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
make fclose(3) failure checks consistent; check 'fclose() == EOF' everywhere
ok millert, naddy
- Commit:
1cb46f007dad47a45d2c2d32aaeee11372f95309
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
consistently label removed files as "/dev/null" in diff headers
- Commit:
64453f7e55c4c69b6cd08229929ed8227b789ff8
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
handle binary files in got/tog diff commands; add -a options to force text
- Commit:
cca5682ee944c46413628161f13e2779718f0536
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
allow for configuring a custom file atomizer with got_diff_get_config()
- Commit:
24e87ea36353362f676afa722d0b7361a7223cbc
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
remove unused function got_diffreg_prepared_files()
- Commit:
72254787333eeb9d226c5341bbfee1b48c1c0f30
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
simply got_diff_prepare_file() by letting callers worry about file creation
- Commit:
62ad13c507a97d98899383907ff33c526073e287
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
remove unused empty function got_diff_dump_change()
- Commit:
fe621944e83fe6367f7bff97128b4240a9cdc7c5
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
merge new diff implementation from the git.gameoftrees.org diff.git repository
This new diff implementation was started by Neels Hofmeyr during the u2k20
hackathon and now replaces diffreg.c code lifted from the OpenBSD base system.
The integration of this code into Got was done by me.
Got now uses the patience diff algorithm by default.
The diff.git repository will remain the primary repository for the diff code,
which already compiles and runs on other operating systems such as Linux.
Any fixes and improvements for files inherited from the diff.git repository
should be written against that repository and synced to got.git afterwards.
- Commit:
efbadcb1d6a9f47a1f36cfca345d24bc31f3e98d
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
avoid creating empty files when one side of a diff is empty; ok tracey
- Commit:
ac9e7fddf6c391bfdce7428c3775968b488f9e3d
- From:
- Tracey Emery <tracey@traceyemery.net>
- Date:
create temporary workaround to opening /dev/null during diffing.
this will need to be reworked later. ok stsp
- Commit:
303e14b5e91b152d78219ff8bbca1f9bfbbb094e
- From:
- Steven McDonald <steven@steven-mcdonald.id.au>
- Via:
- Stefan Sperling <stsp@stsp.name>
- Date:
Add missing includes for time() and ctime()
These headers were implicitly used on OpenBSD, but building on Linux
revealed that <time.h> wasn't included directly. diffreg.c uses
ctime(), which additionally needs <sys/types.h>.
- Commit:
83290b45b037bedb9c814d4afaf111edb4ab7754
- From:
- Steven McDonald <steven@steven-mcdonald.id.au>
- Via:
- Stefan Sperling <stsp@stsp.name>
- Date:
Remove return value from diffreg's fetch()
The last use of this was removed in
0165cdf03ffac4c24334979832ad27554913d54c over a year ago.
- Commit:
8fbe07c208c126ce38d8d97079ef34df4a41cbc6
- From:
- Steven McDonald <steven@steven-mcdonald.id.au>
- Via:
- Stefan Sperling <stsp@stsp.name>
- Date:
Remove unused variable in diffreg's fetch()
- Commit:
14ed98fdf951d01d640d17b7ef18d4a9a3b761a7
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
remove unused 'oldfile' parameter from diffreg.c's fetch()
- Commit:
dc424a06a9c1f0f664cee320cc1b34752f33ec97
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
initial 'got stage -p' implementation
- Commit:
3043f6a3950d04db865f7c663fcbee68deec37e9
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
remove accidental assignment in diffreg.c
- Commit:
8cbe58099b1488354d3efbfcb9f4877ed5b1364c
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
plug /dev/null file descriptor leaks in diffreg.c
- Commit:
638f9024045bbe2420143f8868dcc484c231c634
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
rename got_error_prefix_errno() to got_error_from_errno()
- Commit:
230a42bdc60c6136d2a5ce65bf1a2f26d990c096
- From:
- joshua stein <jcs@jcs.org>
- Date:
got_error_from_errno -> got_error_prefix_errno
also add got_error_prefix_errno2 and got_error_prefix_errno3 which
should hopefully all be merged into a single function with variadic
args (but can't alloc mem)
- Commit:
bcd28dfd6db4114ad7d859722b35b1ccf2c613ac
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
don't close input files in got_diffreg(); callers will do that
- Commit:
fb43ecf1500cf7f8b2e22348bd1635edcda97fee
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
check for errors from fclose()
- Commit:
acb209ee710a07170e5cf7fe8103dbab0666549b
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
restore support for D_NORMAL diffs of regular files
- Commit:
4a8520aa6bbd7d1193aabc34e80edce3d18c0239
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
use a constant for max diff context size
- Commit:
404c43c4fa13923747c649f395f5b2bcb9fcd484
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
basic 'got blame' implementation