commit 417cb0574f8a96ca68bb09be10a689fd06a5c205 from: Stefan Sperling date: Sun Oct 03 21:44:40 2021 UTC sync man pages commit - 3744bd2a1d20a232a88d08e00614968ef9aaee15 commit + 417cb0574f8a96ca68bb09be10a689fd06a5c205 blob - b7f26f9137b11e4e7c13ad0365239aab903e2652 blob + 683d8411a544d1d56b0d5f9e3902ab95d46b5d66 --- git-repository.5.html +++ git-repository.5.html @@ -219,7 +219,7 @@ - +
September 15, 2021October 3, 2021 OpenBSD 7.0
blob - 80dbe0572243a7e5e0104f9480aae80ad14ac755 blob + 55ab265e049976b4ad3cbdc014886408a2dcf896 --- got-worktree.5.html +++ got-worktree.5.html @@ -192,7 +192,7 @@ - +
September 15, 2021October 3, 2021 OpenBSD 7.0
blob - 60478589975c5a3b96538c4b6aa07b59b8bbe784 blob + e2e3e3fd03ceb92bdc40b93df90855e7e3fa8d06 --- got.1.html +++ got.1.html @@ -1451,7 +1451,7 @@ d - file's deletion was obstructed by local modifications + file's deletion was prevented by local modifications A @@ -1508,7 +1508,7 @@ d - file's deletion was obstructed by local modifications + file's deletion was prevented by local modifications A @@ -1593,7 +1593,7 @@ d - file's deletion was obstructed by local modifications + file's deletion was prevented by local modifications A @@ -1609,10 +1609,16 @@

If merge conflicts occur the rebase operation is interrupted - and may be continued once conflicts have been resolved. Alternatively, - the rebase operation may be aborted which will leave - branch unmodified and the work tree switched back - to its original branch.

+ and may be continued once conflicts have been resolved. If any files + with destined changes are found to be missing or unversioned, or if + files could not be deleted due to differences in deleted content, the + rebase operation will be interrupted to prevent potentially incomplete + changes from being committed to the repository without user + intervention. The work tree may be modified as desired and the rebase + operation can be continued once the changes present in the work tree are + considered complete. Alternatively, the rebase operation may be aborted + which will leave branch unmodified and the work + tree switched back to its original branch.

If a merge conflict is resolved in a way which renders the merged change into a no-op change, the corresponding commit will be elided when the rebase operation continues.

@@ -1682,10 +1688,10 @@
Short alias for rebase.
[-a] [-c] - [-f] [-F - histedit-script] [-m] - [-l] [-X] - [branch]
+ [-e] [-f] + [-F histedit-script] + [-m] [-l] + [-X] [branch]
Edit commit history between the work tree's current base commit and the tip commit of the work tree's current branch.

Before starting a histedit operation @@ -1772,7 +1778,7 @@ d - file's deletion was obstructed by local modifications + file's deletion was prevented by local modifications A @@ -1788,9 +1794,16 @@

If merge conflicts occur the histedit operation is interrupted - and may be continued once conflicts have been resolved. Alternatively, - the histedit operation may be aborted which will leave the work tree - switched back to its original branch.

+ and may be continued once conflicts have been resolved. If any files + with destined changes are found to be missing or unversioned, or if + files could not be deleted due to differences in deleted content, the + histedit operation will be interrupted to prevent potentially incomplete + changes from being committed to the repository without user + intervention. The work tree may be modified as desired and the histedit + operation can be continued once the changes present in the work tree are + considered complete. Alternatively, the histedit operation may be + aborted which will leave the work tree switched back to its original + branch.

If a merge conflict is resolved in a way which renders the merged change into a no-op change, the corresponding commit will be elided when the histedit operation continues.

@@ -1823,6 +1836,13 @@
Continue an interrupted histedit operation. If this option is used, no other command-line arguments are allowed.
+
+
Interrupt the histedit operation for editing after merging each + commit. This option is a quick equivalent to a histedit script which + uses the edit command for all commits. The + -e option can only be used when starting a new + histedit operation. If this option is used, no other command-line + arguments are allowed.
Fold all commits into a single commit. This option is a quick equivalent to a histedit script which folds all commits, combining @@ -1931,6 +1951,121 @@
Short alias for integrate.
+
+ [-a] [-c] + [-n] [branch]
+
Create a merge commit based on the current branch of the work tree and the + specified branch. If a linear project history is + desired, then use of got rebase should be + preferred over got merge. However, even strictly + linear projects may require merge commits in order to merge in new + versions of third-party code stored on vendor branches created with + got import. +

Merge commits are commits based on multiple parent commits. + The tip commit of the work tree's current branch, which must be set with + got update -b before starting the + merge operation, will be used as the first + parent. The tip commit of the specified branch + will be used as the second parent.

+

No ancestral relationship between the two branches is + required. If the two branches have already been merged previously, only + new changes will be merged.

+

It is not possible to create merge commits with more than two + parents. If more than one branch needs to be merged, then multiple merge + commits with two parents each can be created in sequence.

+

While merging changes found on the + branch into the work tree, show the status of each + affected file, using the following status codes:

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Gfile was merged
Cfile was merged and conflicts occurred during merge
!changes destined for a missing file were not merged
Dfile was deleted
dfile's deletion was prevented by local modifications
Anew file was added
~changes destined for a non-regular file were not merged
?changes destined for an unversioned file were not merged
+

If merge conflicts occur, the merge operation is interrupted + and conflicts must be resolved before the merge operation can continue. + If any files with destined changes are found to be missing or + unversioned, or if files could not be deleted due to differences in + deleted content, the merge operation will be interrupted to prevent + potentially incomplete changes from being committed to the repository + without user intervention. The work tree may be modified as desired and + the merge can be continued once the changes present in the work tree are + considered complete. Alternatively, the merge operation may be aborted + which will leave the work tree's current branch unmodified.

+

If a merge conflict is resolved in a way which renders all + merged changes into no-op changes, the merge operation cannot continue + and must be aborted.

+

got merge will refuse to run if + certain preconditions are not met. If history of the + branch is based on the work tree's current branch, + then no merge commit can be created and got + integrate may be used to integrate the + branch instead. If the work tree is not yet fully + updated to the tip commit of its branch, then the work tree must first + be updated with got update. If the work tree + contains multiple base commits it must first be updated to a single base + commit with got update. If changes have been + staged with got stage, these changes must first + be committed with got commit or unstaged with + got unstage. If the work tree contains local + changes, these changes must first be committed with got + commit or reverted with got revert. If + the branch contains changes to files outside of + the work tree's path prefix, the work tree cannot be used to merge this + branch.

+

The got update, got + commit, got rebase, got + histedit, got integrate, and + got stage commands will refuse to run while a + merge operation is in progress. Other commands which manipulate the work + tree may be used for conflict resolution purposes.

+

The options for got merge are as + follows:

+
+
+
Abort an interrupted merge operation. If this option is used, no other + command-line arguments are allowed.
+
+
Continue an interrupted merge operation. If this option is used, no + other command-line arguments are allowed.
+
+
Merge changes into the work tree as usual but do not create a merge + commit immediately. The merge result can be adjusted as desired before + a merge commit is created with got merge -c. + Alternatively, the merge may be aborted with got + merge -a.
+
+
+
+
Short alias for merge.
[-l] [-p] [-F response-script] @@ -2050,7 +2185,7 @@ d - file's deletion was obstructed by local modifications + file's deletion was prevented by local modifications ~ @@ -2098,7 +2233,7 @@

The options for got cat are as follows:

-
+
commit
Look up paths in the specified commit. If this option is not used, paths are looked up in the commit resolved via the @@ -2488,8 +2623,8 @@ git-clone(1) and git-fetch(1).
  • Writing to remote repositories over HTTP or HTTPS protocols requires git-push(1).
  • -
  • The creation of merge commits, i.e. commits with two or more parent - commits, requires git-merge(1).
  • +
  • The creation of merge commits with more than two parent commits requires + git-merge(1).
  • In situations where files or directories were moved around got will not automatically merge changes to new locations and git(1) will usually produce better @@ -2499,7 +2634,7 @@ - +
    September 15, 2021October 3, 2021 OpenBSD 7.0
    blob - bcfb07dcfa41e3f321059f8a85fbaf549f00550e blob + a442e641d81204862a9da3df8477f8a37b12519d --- got.conf.5.html +++ got.conf.5.html @@ -277,7 +277,7 @@ - +
    September 15, 2021October 3, 2021 OpenBSD 7.0
    blob - c2a38330c764d5ef7d3b6ad07bac8220793cf606 blob + 0d6a32a1fc77482b7d998624f471684bbfe7703b --- gotadmin.1.html +++ gotadmin.1.html @@ -303,7 +303,7 @@ - +
    September 15, 2021October 3, 2021 OpenBSD 7.0
    blob - 0640238c84914dcc202955b9f72cc0692129d686 blob + 93b2503364dc77b97ced6c6bd2a8d22ebe29890a --- gotweb.8.html +++ gotweb.8.html @@ -155,7 +155,7 @@ - +
    September 15, 2021October 3, 2021 OpenBSD 7.0
    blob - 5437e9ffe6baea0af7636ed22cb4f9d05d9ac254 blob + 1406d2a29c03fb22e542b5ce95e9c71707d4cd11 --- gotweb.conf.5.html +++ gotweb.conf.5.html @@ -171,7 +171,7 @@ got_logo_url "https://gameoftrees.org" - +
    September 15, 2021October 3, 2021 OpenBSD 7.0
    blob - edd57a21741079ac66b6fcd2f138766af63d3159 blob + 21c63c0e9a5fcbc2d7ea6d171b86b27747c548a6 --- tog.1.html +++ tog.1.html @@ -595,7 +595,7 @@ - +
    September 15, 2021October 3, 2021 OpenBSD 7.0