Commits
- Commit:
a4153d5b903b1fe20edad776a6d0ec3c3cbcc0aa
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
more concise fix for path_list_reverse_input() crash; suggested by millert
- Commit:
8891c2aba6a5f6cd43ab51b67115d4fbd0976f73
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix crash in path_list_reverse_input() after switch to unsigned loop index
- Commit:
85f4e1e7d36a206d3861d49c00e207d3e7fcab80
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix the type of variable 'idx' in update_packidx()
- Commit:
6059809a13b5d528052e38f84661039e6565f458
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
use size_t for loop indices to avoid signedness warnings; by emaste@freebsd
Same change as 16aeacf7088d, for subdirectories other than lib/
- Commit:
6d5a9006ab2a400b488b9e93ec9647fb9b2a0930
- From:
- Yang Zhong <yzhong@freebsdfoundation.org>
- Date:
add fd field to got_repository, modify got_packidx_open to use fds
These changes are intended to make got more compatible with
FreeBSD's Capsicum.
ok stsp
- Commit:
a615e0e7796ea1103a6e0d4b5dbb613459788666
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
implicitly mark all files in work tree as up-to-date after rebase/histedit
This should always be correct, since rebase and histedit start out with a
clean and single-base-commit worktree, and end up committing all changes
across the entire work tree when they are successful.
tested by jrick and myself
- Commit:
0d5bb27670e5cdef181f8073984fd02be5a42d53
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
allow editing of log message comments with 'got histedit'
This makes it possible to remove just comment lines from log messages
during a histedit operation, leaving the rest of the log message as-is.
The behaviour of treating changes to comment lines as no-ops was coded
to prevent mistakes during 'got commit/import/tag', where the command
will error out if the log message template is not modified. This is not
appropriate for histedit because histedit is used to fix such mistakes.
ok millert@
- Commit:
73e7eb7d1cfead096b0297377490aeaac95a73f5
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add got_error_fmt()
got_error_fmt() could eventually replace got_error_path() which has already
been used to construct errors with strings that are not actually paths...
ok millert@
- Commit:
4cc6a5a5fa3d5a5351d59385e614a0a78d167987
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add got_error_from_errno_fmt() for more flexibility in error messages
suggested by and ok millert
- Commit:
748d5cab9a3d0d5d0edc28c8fd38430c684b1e55
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Date:
replace unprintable characters with '.' before passing them to curses
Otherwise, ncurses will replace them with some printable representation
whose width we can't predict, and wunctrl() fails to return the
replacement for 0x80..0x9f.
ok stsp
- Commit:
f5a09613ce18eb49de0d07d7f7a1dbd5dcac25c8
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Date:
reset tog blame view's scroll position if line count shrinks too much
ok stsp
- Commit:
b2d2e70d74ef419da60fefbc2a7c5900c181e2e7
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
bump version number
- Commit:
c39ec06321814be458150fc20e0278c9f5537b03
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
sync distfile list
- Commit:
dd30c874bb2667ff99decb1b542c7b0aa98ce24b
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
CHANGES for 0.45
- Commit:
a347e6bb7cfe1f6a9df6234f6949003191418466
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
test behaviour of histedit -f with an empty log message
- Commit:
239f5c5ae4c041d2ea8dddae394ce357b016b7a1
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add a basic test case for histedit -f
- Commit:
71392a05f2ee999ddda39f6b5eb64d0bc292c0ce
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
prevent log message loss of folded commits during histedit
If the histedit log message editor exits without saving its buffer,
Got threw away log messages of all commits which were folded. Only the
last commit message is preserved, which could be something meaningless
like "fixup".
Instead, preserve the initial editor buffer content as-is.
That is not going to be an ideal log message, but doesn't throw away
information and stands out visually because the newly created log message
will start with a comment like '# log message of folded commit a0ff...'
Problem reported by jrick
- Commit:
b380533788adf056655d5bdf9d7e497e53c5d85f
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
histedit -f conflicts with -F option
Also fixed as part of a different patch from jrick
ok jrick
- Commit:
ff69268e3d2a6d3adf3c7b6a1284fca5ac8fc62a
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
use a helper function to generate error messages for mutually exclusive options
Inspired by a different patch from jrick
ok jrick
- Commit:
9f6bb280654be7061fc00305743f6ace71f9a1cb
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
remove redundant explanation of histedit -f and -m options from got.1
- Commit:
b54435ba03758ce44a7b635de5b0eb44a9aa994f
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix typo in got.1: "only if" -> "if only"; pointed out by tracey
- Commit:
2a78779e85e34d352d7735c35ba7043a935a59e1
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
document that histedit -f can only be used if starting a histedit operation
- Commit:
7f64f4d6a730d414a4060625b2aceb39b89621eb
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Date:
accommodate newer ncurses where panel_userptr() returns a const pointer
ok stsp
- Commit:
826082fed43c92130e9545e829c660b3c2fd2fab
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
use getline(3) instead of fparseln(3) in tog, for better portability
ok millert
- Commit:
466785b9264da1a24c92aed9d706e76cc826601d
- From:
- Josh Rickmar <jrick@companyzero.com>
- Date:
add histedit -f flag for folding shortcut
"please push it" stsp