Commits
- Commit:
b8adfa5529205d58ab21c9c8fc76b50068ebbaa2
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add "branch" keyword to got.conf which specifies a list of branches to fetch
ok tracey
- Commit:
b08a0ccd43bb6d5f5cc56ccbb1c5244affccf2a9
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
do not pledge 'got integrate' in a PROFILE=1 build
found by jrick on freenode
- Commit:
04d9a9ecdab02fa65ffe5ade82da586e5442869e
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
allow an interrupted 'got clone' to be resumed by 'got fetch'
Set up config files as soon as possible such that 'got fetch' has enough
information in order to resume an interrupted clone operation. We need to
receive at least a default HEAD branch name from the server before we can
set up our configuration files.
The previous code also verified whether the default branch name supplied by
the server resolved to a commit received in the pack file. This check cannot
be done early but a wrong branch name in a config file can be fixed easily.
- Commit:
7c0b7f42f3ff191db04c3a8b01078649f1a70b6b
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
refactor code which creates config files for 'got clone' using helper functions
- Commit:
a9c2d4c277afebe2aff309e7b43a32185fc37cd1
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix default branch name written to Git config file by 'got clone'
The generated Git config file instructed Git to fetch all branches rather
than the default branch as was intended.
Check generated configuration files in all clone tests in order to catch
such problems in the future.
- Commit:
2751fe645d77dcd3e68167c7d2c26bb9146996d2
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
let 'got clone' try to connect to server before creating repository contents
- Commit:
521dbd351ce6ce206a649ef1f76e4804722a0f28
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
trim leading slashes from repository path written to got.conf (found by naddy)
- Commit:
48cae60d0ae734495d85aa8a8d9409e71cfe7d76
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
make dangling symbolic references show up in 'got ref -l'
Storing a resolved ID for each reference list item was a bad idea.
This ID cannot be resolved if a symbolic references points to a reference
which does not exist. Such symrefs were skipped by got ref -l as a result.
Just let users of reference lists resolve the IDs as needed.
- Commit:
c47340daf7e078d5d04930146cb9307d94b09bc1
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
in cmd_checkout() handle basename(3) modifying its argument
ok naddy@
- Commit:
0429cd76586cecb81d322546ab686ce527eb8f83
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Date:
fix typo in error message
- Commit:
59f86c768fa5ca12721c72172aa968062fceafea
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
plug memory leaks in error paths while collecting log messages
- Commit:
97972933210f224479bf2e8f44c4cb88a2dec393
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
check for errors from write(2) and close(2) while collecting log messages
- Commit:
50b0790ed9a28fced631f31e5b7ca76a9a610ea5
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add per-worktree got.conf(5) file in the .got directory; ok millert
- Commit:
1601cb9fb1c61348022d15d2f34797672e2c3cc3
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Date:
use plain write() in place of dprintf() with a pre-formatted string
step-by-step guidance from millert; ok millert stsp
- Commit:
3168e5da215c7b442d231f40bfd61df067505d8b
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
zap trailing tabs
- Commit:
257add310e4b16ae43b467b91f66b773da39f470
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add got.conf(5) configuration file
ok tracey
- Commit:
4dbec0a83c320fcd126d9d2014fae24906ce415d
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
actually make use of an intermediate variable in cmd_clone()
found by tracey's scan-build
- Commit:
766841c2970cb5bef66c9c69201b231d0eefb120
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add -s option to 'got remove' which deletes files in a particular status
This makes it easy to deal with files that were deleted from disk by external
tooling which modified the work tree. Such files are left in missing (!)
status and can now be marked for deletion in bulk via 'got rm -s\! -R .'
For consistency, modified (M) files can now be removed with 'got rm -s M'
which implies 'got rm -f'.
Prompted by feedback from krw@
- Commit:
081470ac52a4d68384a33f36bdd0d3096d6cf772
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add -s option to 'got status' which acts as a status code filter
Advantages over using grep are that the list of codes is validated against
a list of known status codes, and that it is easier to match staged files
which can display status codes in one or both of two columns.
Prompted by feedback from krw@
- Commit:
502b9684f951602db159ea8e357e404480666eec
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
make 'got log' -R and -P options work in combination
With -R, the -P option did not show any paths.
Regression test added here demonstrates the problem.
- Commit:
b2118c49a14c29447e228bf9a2b2a38f2da4f10b
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
Add a 'got info' command which displays work tree meta-data.
Remove the alias 'got in' for 'got init'.
The 'in' alias was too close to either 'init' or 'info'.
ok tracey, millert
- Commit:
35213c7c838a48142d398147b54bb9938af8cab0
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
forbid bad symlinks; add -S option to 'got commit' and 'got stage' to allow them
- Commit:
39449a05d564e098f638d1be356d1efbba3ab38c
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
make 'got diff' show changes to symlinks in a work tree
- Commit:
eb59b6d4903198c69021bb80110c5dea0f7a7bc2
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
show path in error message when blaming a symlink pointing to a directory
- Commit:
0587e10c4c4e054f8aeda2bd499b76c0ec60dc40
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add symlink support to 'got blame' and 'tog blame'