Commits
- Commit:
844307c69e1213b5967a67673e2ed02e0d34f181
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
Release 0.64
- Commit:
7626433e5d5f9b242527bf2ae2f9f11eda09db5f
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: remove queue.h
queue.h is included portably, so it shouldn't be included directly.
- Commit:
cdba74ba3b79256e0094f4a6ec4ed4601806cba6
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: enable merge.sh
This seemingly went walkies, so reenabling it.
- Commit:
c3f0d5676d12c478f7af883f887177474081de36
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
regress: make merge.sh more POSIXy
Don't use '==' for equality matching in sh, as this won't work across
all shells.
ok @naddy
- Commit:
1ff9fea4adda83f98727fa90b9806f6b35989182
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: running tests when shell is dash
Ubuntu's default shell is dash, when using /bin/sh. The portable nature
of got is such that "$OSTYPE" to determine the host type (linux, bsd,
etc.) is bash-specific and is not part of POSIX.
autotools already provide a mechanism for determining the underlying
platform type, and PLATFORM is already a subst value.
Therefore, let the -portable parts of the regress test-suite use
$PLATFORM to look at the underlying OS type. The tests themselves
already expect /bin/sh to be POSIX-compliant in all other areas, so
there should be no need to change the #! lines.
- Commit:
f97d3fa0aeb2ae9e45d749d80629de65336b747a
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
regress: cleanup: bypass sed wrapper
The sed portable wrapper works for inplace editing, but isn't required
for just a single stream.
- Commit:
3a76741959b24e02b76fdd973c68b782d2f4510d
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
regress: make test operands POSIX compliant
Since the interpreter for the regress shell scripts are using /bin/sh
this will usually imply some level of POSIX compliance (that isn't
bash-specific, for instance).
Some systems use dash as their sh shell and as such is stricter POSIX
compliance. To help -portable, make the shell test checks use a single
'=' for equality, rather than '=='.
- Commit:
4682a4a03650cce147a8cb9e501ce1cdd193b00d
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
sync dist file list
- Commit:
98182bd0510e52dd5b397e4d797a3f06b9a91a55
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
switch tog ref view's sort order command key to "o" instead of "s"
The letter "o" does not overlap with existing options of 'got ref'
and is also used by mutt(1) for this purpose.
- Commit:
2f6f8179787c5cb816adfb5ad3a975270a3ca4ad
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: include worktree_open
Make worktree_open part of the build.
- Commit:
a0b48eaf75ca2f2a41f476012474a3d255c2e83d
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
add got branch -t option to sort listed branches by modification time
- Commit:
a729e2888f2d81208a354bdd20fac750b38c9134
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
fall back to comparison by name when refs have the same timestamp
This fixes an issue where some references were missing from lists of
references sorted by timestamp.
- Commit:
2bf0fa54a55e054ffe4c688f49ecbd6a28101fe0
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
add got ref -t option to sort listed references by modification time
- Commit:
c591440fff37d0195c98e6a7357f881ec9d5a8df
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
make tog use got_reflist_sort() instead of reloading refs while sorting them
- Commit:
fb95e70d03a91abd90acdff115ea7aa7ce29b9a4
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
implement got_reflist_sort() which sorts a ref list in-place
- Commit:
e87a53ff87b118b0f2144d7d2e111986d2380240
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
fix uninitialized error from got_ref_cmp_by_commit_timestamp_descending()
- Commit:
3bfadbd404f3e18e73d69ad6da6c0dbc8de67097
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
allow sorting references by timestamp in tog
- Commit:
24f136e0f955e179395f9d081b45fbea32f02325
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
preverse binary files during updates and merges
- Commit:
1ea7ccc6f361b1b07c3f3c301b033ea50b17cf54
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
let gotadmin find the repository automatically if invoked in a work tree
Move a small amount of code from worktree.c to a new file worktree_open.c,
which contains everything required to open and close a work tree and inspect
some of its basic parameters. This can be used by gotadmin.
ok tracey
- Commit:
f89000039096e46ad7d5f9abfad6749034d02a41
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
gotweb does not actually use anything from worktree.c or fileindex.c
- Commit:
d912d1250c98cc9f95e6d51ebb86173911e17b81
- From:
- Klemens Nanni <kn@openbsd.org>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
Fix mandoc HTML rendering for command aliases
Replace hand-rolled parentheses with the proper mdoc(7) macro,
otherwise the closing ")" ends up inside the command description.
Reported by Josh Rickmar, thanks!
- Commit:
d10218e7512ce57d66ac7ef9f7a3caeab7874e8a
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
document new 'got rebase' behaviour when commits do not need to be rebased
- Commit:
82d979c595ed3516ee1dbff4500ccd8cf84848ce
- From:
- Josh Rickmar <jrick@zettaport.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
switch branches during noop rebases
Always update to the specified branch even if the branch is already
rebased (no commits needed to be rebased, and the branch does not need
a fast forward). With the old behavior of erroring and staying on the
current branch, I sometimes found myself ignoring the error message,
treating it as information and assuming the branch update, and later
on committing on top of origin/main instead of the main branch.
feedback and ok stsp
- Commit:
5d7e2cd05a57bd094a600963db2c19da60278dae
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
remove unused variables to fix LLVM 13 warnings; ok stsp
- Commit:
62a05ae94009c91c5904a11af8b6d5d8f212e0f6
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
use up to 128 delta chain elements again; creates smaller packs at same speed