|
b7422a2f
|
2020-07-23T14:22:38
|
|
stop using realpath(3) to resolve a symlink target in install_symlink()
We should not resolve a symlink target path recursively when installing a
symlink in the work tree. We want to handle this symlink's target, not the
end result of following a chain of symlinks in case such links already exist.
|
|
369fd7e5
|
2020-07-23T14:22:38
|
|
add support for symlinks to 'got revert -p'
|
|
0aeb8099
|
2020-07-23T14:22:37
|
|
set a staged file type and handle it separately from the on-disk file type
|
|
fa3cef63
|
2020-07-23T14:22:37
|
|
make 'got stage -p' work with symlinks
|
|
c631b115
|
2020-07-23T14:22:36
|
|
make staging of symlinks work
|
|
c90c8ce3
|
2020-07-23T14:22:35
|
|
preserve unversioned files when merging added symlinks
|
|
4901ccfc
|
2020-07-23T14:22:35
|
|
add a test for 'got revert' with symlinks
|
|
3b9f0f87
|
2020-07-23T14:22:35
|
|
handle additional symlink conflicts and report skipping of unversioned files
|
|
fba9f79c
|
2020-07-23T14:22:34
|
|
restore unversioned file test case in test_cherrypick_symlink_conflicts
One part of current behaviour is to delete an unversioned file and replace
it with a symlink; that's very bad in case the user wants to keep the file.
|
|
d219f183
|
2020-07-23T14:22:34
|
|
test_cherrypick_symlink_conflicts forgot to run 'got add' on a file; fix this
|
|
88fb31d4
|
2020-07-23T14:22:33
|
|
extend test_commit_symlink test case
|
|
e8863bdc
|
2020-07-23T14:22:33
|
|
add symlink support to 'got import'
|
|
993e2a1b
|
2020-07-23T14:21:31
|
|
handle symlink deletion and symlink conflicts during 'got update'
|
|
11cc08c1
|
2020-07-23T14:21:31
|
|
handle symlink conflicts by installing a file that contains conflict markers
|
|
e26bafba
|
2020-07-23T14:21:31
|
|
add cherrypick test for symlink conflict cases
This test accepts the current behaviour, even though the current behaviour
isn't ideal in some cases.
|
|
75c30427
|
2020-07-23T14:21:30
|
|
remove debugging test code
|
|
bd6aa359
|
2020-07-23T14:21:30
|
|
convert bad symlinks to regular files during 'got commit'
|
|
3d9a4ec4
|
2020-07-23T14:21:30
|
|
add symlink support to 'got commit'
|
|
af57b12a
|
2020-07-23T14:21:30
|
|
add symlink support to 'got cherrypick'; test non-conflict cases only for now
|
|
5a1fbc73
|
2020-07-23T14:21:30
|
|
make it possible to fix "bad" symlinks with ln -sfh + got commit + got update
|
|
40dde666
|
2020-07-23T14:21:29
|
|
add support for symlinks in the repository to 'got diff'
|
|
4135d7d0
|
2020-07-23T14:21:29
|
|
fix symlink change in test_diff_symlinks_in_work_tree
|
|
39449a05
|
2020-07-23T14:21:29
|
|
make 'got diff' show changes to symlinks in a work tree
|
|
7d61d891
|
2020-07-23T14:21:29
|
|
fix checkout of symlinks when a relative work tree path is given
|
|
906c123b
|
2020-07-23T14:21:29
|
|
do not allow symlinks pointing into the .got directory; noticed by semarie
|
|
23b820a2
|
2020-07-23T14:21:29
|
|
remove unnecessary lines from test_cat_symlink
|
|
73259b37
|
2020-07-23T14:21:29
|
|
add a symlink test for 'got cat'
|
|
eb59b6d4
|
2020-07-23T14:21:28
|
|
show path in error message when blaming a symlink pointing to a directory
|
|
0587e10c
|
2020-07-23T14:21:28
|
|
add symlink support to 'got blame' and 'tog blame'
|
|
64773fde
|
2020-07-23T14:21:27
|
|
expand test cases in test_rm_symlink
|
|
d4ae64fa
|
2020-07-23T14:21:27
|
|
extend test_status_symlink to cover removal and modification of symlinks
|
|
a919d5c4
|
2020-07-23T14:21:27
|
|
make 'got rm' work on symlinks; test case written by tracey
|
|
00bb5ea0
|
2020-07-23T14:21:27
|
|
make 'got add' work on symlinks and let 'got status' display them
|
|
f35fa46a
|
2020-07-23T14:21:27
|
|
add symlink support to 'got update'
|
|
0ab20ee9
|
2020-07-23T14:21:27
|
|
fix handling of symlinks to a nonexistent target
|
|
8ba819a3
|
2020-07-23T14:21:27
|
|
let 'got checkout' create symlinks in a work tree
|
|
4da1bbe9
|
2020-07-19T16:14:08
|
|
fix return statement in test_checkout_into_nonempty_dir failure case
|
|
3143d852
|
2020-06-25T06:53:54
|
|
fix ignores when a path is passed to 'got status'
Problem reported by semarie, who also provided initial regression test code.
ok semarie
|
|
74ad335c
|
2020-06-23T19:17:36
|
|
fix unintended change of current working directory in a test case
|
|
7aadece8
|
2020-05-17T08:23:19
|
|
allow creation of commits which carry unmodified submodule tree entries along
approach suggested by ori@ and matches how git9 behaves
ok semarie@ (who can now work with Rust-related Git repos containing submodules)
|
|
e7303626
|
2020-05-14T19:27:44
|
|
add submodule tests
ok semarie
|
|
0208f208
|
2020-05-05T09:53:57
|
|
show a list of paths changed in a commit with 'got log -P', and in tog
requested by matthieu@
|
|
2e8c69d1
|
2020-05-04T19:37:36
|
|
fix "no such entry found in tree" error with got log -p and an added path
ok millert@
|
|
70551d57
|
2020-04-24T16:23:39
|
|
add a test for rebase file index corruption problem fix in previous commit
ok tracey
|
|
50f2fada
|
2020-04-24T16:22:28
|
|
fix 'got log -r' loading refs from the wrong repo if invoked in a work tree
ok tracey
|
|
b90c3048
|
2020-04-19T09:10:52
|
|
adjust expected "object not found" error output in tests
|
|
d7c4e80d
|
2020-04-19T08:57:07
|
|
fix expected output in clone and fetch tests
|
|
dbec59df
|
2020-04-18T21:24:54
|
|
add 'got log' -R option to reverse commit display order
|
|
9627c110
|
2020-04-18T18:40:01
|
|
show a summary of conflicts and related problems after updating/merging files
ok millert@
|
|
5036ab18
|
2020-04-18T18:40:00
|
|
make 'got update' skip conflicted files
ok millert@
|
|
ceb466a7
|
2020-04-18T11:21:53
|
|
add a test for 'got cherrypick' with existing merge conflicts
|
|
d1fe46f9
|
2020-04-18T10:28:24
|
|
add 'got log' -x option to stop logging when a specific commit was traversed
|
|
cb35d58a
|
2020-04-14T11:46:43
|
|
assign 'ret' explicitly in test_commit_normalizes_filemodes
|
|
f7b97ccb
|
2020-04-14T11:37:39
|
|
normalize tree entry modes to 0100644 or 0100755 when writing tree objects
semarie@ reported an error from go-git used by Cirrus CI:
"57243613255d758e15b0f5ae1c960b970f0435f8: malformed mode (0100640)!"
'git fsck' has no problem with mode 0100640. But writing just the two
most commonly used file modes should provide the best compatibility.
|
|
bcf34b0e
|
2020-03-26T17:10:59
|
|
make 'got fetch' restore our copy of the remote HEAD if the copy was deleted
|
|
3789fd73
|
2020-03-26T14:58:16
|
|
make 'got fetch -d' delete branches from both refs/heads and refs/remotes
|
|
d911dcf5
|
2020-03-25T16:02:40
|
|
set the executable bit on tree.sh
|
|
f1bcca34
|
2020-03-25T16:02:28
|
|
make 'got fetch' update our copy of the remote HEAD in case it has changed
|
|
f298ae0f
|
2020-03-25T15:08:59
|
|
make 'got clone' create refs/remotes/origin/HEAD, as 'git clone' does
|
|
75236079
|
2020-03-25T14:30:15
|
|
handle refs/remotes/origin/HEAD properly; reported by Matthias aka _xhr_
|
|
810a850e
|
2020-03-23T16:52:26
|
|
spacing
|
|
4e0a20a4
|
2020-03-23T16:51:40
|
|
make got tree work on current branch and add tests for this use case
ok stsp
|
|
a740a1b3
|
2020-03-22T19:42:48
|
|
use 'got commit' in test_rebase_delete_missing_file instead of Git
|
|
ca6da77d
|
2020-03-22T19:25:28
|
|
add a test for 'got rebase' to check behaviour on delete vs. delete
|
|
ba580f68
|
2020-03-22T15:08:33
|
|
prevent 'got commit' from comitting empty sub-directories; found by tracey
|
|
9c2e8939
|
2020-03-22T15:02:28
|
|
fix test sandbox name of test_rm_directory_keep_files
|
|
b2070a3f
|
2020-03-22T14:21:07
|
|
allow for limiting output of 'got ref -l' to a single ref or a namespace
|
|
e31abbf2
|
2020-03-22T14:21:06
|
|
add -c option to 'got ref' which now expects just one argument after options
|
|
e8a967e0
|
2020-03-21T22:44:07
|
|
make replacing symrefs actually work in 'got fetch'
|
|
ecdc3b49
|
2020-03-21T22:14:18
|
|
fail test_fetch_reference properly if fetch succeeds unexpectedly
|
|
0e4002ca
|
2020-03-21T21:49:13
|
|
add support for fetching arbitrary references to 'got clone' and 'got fetch'
|
|
db6d8ad8
|
2020-03-21T19:40:36
|
|
prevent existing tags from being overwritten by 'got fetch' by default
|
|
3ef2e71a
|
2020-03-21T18:16:30
|
|
set executable bit on clone.sh and fetch.sh
|
|
c8c71e6e
|
2020-03-21T17:28:30
|
|
add tests for 'got clone' and 'got fetch'; requires 'ssh 127.0.0.1' to work
|
|
62a4c94c
|
2020-03-20T15:01:15
|
|
support non-default port numbers with SSH and tweak URI parser port handling
|
|
a244cd92
|
2020-03-19T14:59:16
|
|
fix fetch test's expected results and check results properly
|
|
9a682fbe
|
2020-03-19T14:43:38
|
|
add support for Git's SCP style URLs to got_fetch_parse_uri()
|
|
629bd8f3
|
2020-03-18T16:11:28
|
|
fix fetch_test build
|
|
82ebf666
|
2020-03-18T16:10:34
|
|
tweak parse_uri() function, declare it as public API, and add a test for it
|
|
3969253a
|
2020-03-07T19:01:44
|
|
remove implicit entry update from got_fileindex_entry_alloc(); just alloc
|
|
15341bfd
|
2020-03-05T14:39:37
|
|
trim directories in got remove -R
This is a racy solution that needs to be properly implemented in the future.
ok stsp
|
|
5b87815e
|
2020-03-05T11:20:24
|
|
prevent commits from being listed more than once in a histedit script
While merging a commit multiple times during a histedit operation could
potentially make sense in some corner case, a commit appearing more than
once in the script is more likely to happen accidentally.
If desired, the same effect can still be achieved by running multiple
histedit operations, or by using 'got cherrypick' while the histedit
operation is paused for arbitrary editing.
|
|
de05890f
|
2020-03-05T10:53:53
|
|
fix histedit 'rebase commit ID mismatch' error when splitting a commit
Commit IDs on histedit's temporary branch can change arbitrarily because
the user may create new commits on this branch while editing past commits.
So there is no point in trying to verify these IDs like we do during rebase.
Add a test case which demonstrates the problem.
|
|
4b6c9460
|
2020-03-05T08:41:12
|
|
be helpful when users try to check out work trees without a known branch
Provide a useful error message in such cases and explicitly document
intentional restrictions in the got(1) man page.
Prompted by a question from Adam Steen via bsd.network
https://bsd.network/@adams/103768951483318235
|
|
a0ea4fc0
|
2020-02-28T17:37:53
|
|
show merged commit ID + logmsg upon merge conflict during rebase and histedit
This makes it more apparent which commit contained the conflicting change.
The new output looks like this:
C sys/dev/pci/if_iwm.c
8a98d848a1a5 -> merge conflict: properly modify station queues
got: conflicts must be resolved before rebasing can continue
|
|
80106605
|
2020-02-24T20:31:09
|
|
switch 'got tag' commit argument to a -c option for consistency
|
|
da76fce2
|
2020-02-24T20:31:09
|
|
let 'got branch' switch and update the work tree
ok tracey
|
|
7fa81f88
|
2020-02-21T01:06:03
|
|
allow 'got ref' to manipulate refs which do not have a slash in their name
|
|
bb63914a
|
2020-02-17T21:57:56
|
|
make tmp dir location a compile-time setting and change gotweb's tmp dir
We are not sure whether a gotweb package can own /var/www/tmp on OpenBSD.
Moving gotweb's tmp dir to /var/www/got/tmp sidesteps that issue.
|
|
1ae0a341
|
2020-02-14T15:43:03
|
|
add a test which ensures that 'got rebase' trims empty dirs from disk
|
|
5bda3ef8
|
2020-02-09T11:51:29
|
|
extend 'backout' tests; covers segfault found by semarie@ (fixed in 3c24af98)
|
|
db32465d
|
2020-02-07T18:02:56
|
|
add a test for bug fixed in a0975128
|
|
992eb9d8
|
2020-02-07T17:02:17
|
|
spelling
|
|
a46b9f33
|
2020-01-28T12:09:03
|
|
fix a bug where 'got revert -R' failed on added subtrees
The command could fail with "got: no such entry found in tree".
This problem is reproduced by the regression test added in this commit.
This happened because file index entries were processed in the wrong
order by diff_fileindex_dir(). To fix this, keep removed entries in
the RB tree and skip them when the file index is written out, rather
than removing entries from the RB tree immediately causing side-effects
for RB_NEXT and friends.
|
|
f43793a4
|
2020-01-27T22:14:23
|
|
fix a bug where 'got log PATH' failed to map PATH into the repository
The problem occured inside /usr/src/sys due to the /sys symlink,
where /usr/src was a got work tree. If a work tree is present we
already have the right path so checking the disk is pointless.
|
|
fb9704af
|
2020-01-27T17:07:01
|
|
do not display unversioned files during 'got revert -R'
|
|
ac03cf6d
|
2020-01-17T14:37:03
|
|
fix bug in tag list tests where expected datestamps were swapped
|
|
562580bc
|
2020-01-14T13:25:55
|
|
support Git-style "lightweight" tags as arguments for 'got diff'
|
|
d4efa91b
|
2020-01-14T13:25:55
|
|
handle Git-style "lightweight" tags in got tag -l
|
|
bb51a5b4
|
2020-01-13T10:28:58
|
|
add -E option to 'got checkout' allowing use of a non-empty work tree path
needed by and ok kn@
|