Commits
- Commit:
1b99d1525ddbca6a11f075b7cbd7b36ffd16b7a5
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
update TODO notes
- Commit:
8b4e047e05ed0f7d83b37ec25e4fdeb734157477
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix gotweb build; should have been part of 8fa913ec
- Commit:
f3c44083206e9ee281841283e5ff256763f6038e
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Date:
sync files from diff.git fe6d58fb52ea8d1041a8eb65e28a04816df67c08
- Commit:
0e404f9576e83c33ad0d1b5c032ea8dbd32ba0a0
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
typo fix in tog.1 man page
- Commit:
8fa913ec61095de669c9ca40e3cd782d53c85bdc
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
remove now pointless 'check_disk' parameter of got_repo_map_path()
suggested by naddy
- Commit:
bfd61697d22df765ef7a98856bc68c4b19109c6e
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
make tog avoid got_repo_map_path() if a work tree is available
ok naddy
- Commit:
276b94a1f9ff915aab767e558957527ccddf43e9
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Date:
Call pthread_cond_destroy(cond) exactly once when closing a view.
This moves the pthread_cond_destroy(need_commits) from stop_log_thread(),
which can be called twice, to close_log_view(), which is called
once. It also destroys the commit_loaded condition variable, which
is created in open_log_view() but was never destroyed.
ok stsp
- Commit:
41605754d020cd4be569b2dffdfac47451ea8925
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
highlight matched search terms in tog diff and tog blame views
ok naddy@
- Commit:
c9d2b2638181862042c8d712cf7bf4977fea15e2
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
make gotweb compile with the new diff implementation
- Commit:
135a2da0c5bd18fcf65ac142fa604ec03ad1aa2d
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
show current/total line numbers in tog's diff view header
- Commit:
e54cc94af2217992a549a0ae0cf2d38314120297
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
plug two memory leaks in tog's draw_file()
- 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:
2bea860227bad0209638ed7253ae2e203c9f197a
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
bump version number
- Commit:
b85f43401025cdbf9c6652f4d6bacc7bb5ae0bd6
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
typo fix in CHANGES
- Commit:
cd5a3383b3885ab8623f6b93ad589743e237f12a
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix 0.44 release date in CHANGES file
- Commit:
76e818c565370be7be223941b8362c3f0ac6ec01
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
changes for 0.44
- Commit:
a5a8a332eeea892dc8ef463ea56eed9ae5c7c864
- From:
- Tracey Emery <tracey@traceyemery.net>
- Date:
remove unused variable in gotweb.c, patch by Martin Vahlensieck (thanks)
- Commit:
a03d32e03e9fdc194f2c5b54c751f23c2d5974f6
- From:
- Tracey Emery <tracey@traceyemery.net>
- Date:
fix on keywork in gotweb parse.y, patch by Martin Vahlensieck (thanks)
- Commit:
f6d8c0acbade4a4b9cc8a674270e689a800b1fb6
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix replacing symlinks with files
And add a test case which verifies that the inverse also works,
i.e. a symlink being replaced with a regular file.
problem reported and fix tested by jrick
- Commit:
63df146dfc84e000c931f34a3ec02b115fcebb49
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix missing unlink(tmppath) in error cases of install_blob()
- Commit:
2ac8aa022e2ae3e7792af5fe5a66e10b241a751f
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
clear staged file type in file index entries whenever staged status is cleared
- Commit:
4fedbf4c4e5ffc90d4eb6f38c58a4b9d927d896c
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
avoid got_repo_map_path() in 'got tree' if a work tree is available
Note that got_worktree_resolve_path() will return a path based on
the current working directory if the argument is the empty string.
This quirk keeps the behaviour of 'got tree' intact which depends
on the current working directory if run in a work tree.
ok naddy@
- Commit:
9314b9f4a55e5ebd1a98fa58bcd4e429e8b46163
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
test case for 'got integrate' failing if symlink changes to file; patch by jrick
This test verifies the current behaviour, even though it is not the most
desirable behaviour.
- Commit:
727173c3ab3a0b386e808d2d6bbeacd048710216
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
initialize sb.st_mode after stat(2) failure in got_worktree_resolve_path()
- Commit:
017406073fd742cc052672dd2f2689838e76df3f
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
avoid got_repo_map_path() in 'got blame'
'got blame' does not need access to the work tree. So far the work tree
was completely hidden with unveil(). We must now expose the work tree
while resolving the path, so unveil() calls are shuffled around slightly.
Failing realpath() calls would mess with path resolution otherwise.
There's a bug in got_worktree_resolve_path() where it failed to canonicalize
a path constructed from a user-specified path that does not exist on disk.
Note that this path falls into strncmp() a few lines down. I am fixing this
by adding canonicalization. Generally, joining paths with asprintf() and
comparing paths with strncmp() is fragile. A more general solution might be
needed but I am leaving that for another day.
ok naddy