Commit Diff


commit - b584caa3e8756aeac18e4d5b3c63cdc8b17ad9ea
commit + 26a981724a075064c8bfecd157766766b31fe330
blob - 32569e7ba83ade82fa12d5862bcd129d3a898ea5
blob + 21ec09720a0b5b78ca5222b9b3af75e04a04e414
--- TODO
+++ TODO
@@ -14,6 +14,8 @@ got:
   points to a non-existent reference it should be updated by 'got fetch'
   to match the HEAD symref sent by the server.
 - cherrypick/backout -l should display relevant refs/got/worktree/ references
+- If invoked in a work tree, got fetch could default to fetching the work
+  tree's current branch, instead of fetching the remote repository's HEAD.
 
 network protocol:
 - add http(s) transport with libtls, speaking the two Git HTTP protocols