Commits
- Commit:
5b7126c502f8d046d0779dd2cb0558163c383819
- From:
- Omar Polo <op@omarpolo.com>
- Date:
actually guarding against negative line offsets
previous commit looked at some pretty zeroes returned from calloc
instead of the actual numbers received.
- Commit:
2399b53d3a5f7a784efc54b86027b4f50f65ac41
- From:
- Omar Polo <op@omarpolo.com>
- Date:
style; set datalen only once
- Commit:
71393b5c7fb0a8cff0c8fd7890c3954e3f3a9599
- From:
- Omar Polo <op@omarpolo.com>
- Date:
got patch: guard against invalid (negative) line offsets
under normal circumstances got-read-patch can't send negative line
offsets; that's not an excuse not to guard the main process from those
as well.
This makes sure we bail out early instead of trying to apply the diff.
- Commit:
0e07a2a181ad1663e726597758495e6b8010ba97
- From:
- Omar Polo <op@omarpolo.com>
- Date:
free patch on error
- Commit:
99b94ad7a7280ebcb23a103b28c81900bbe250ee
- From:
- Omar Polo <op@omarpolo.com>
- Date:
got patch: ensure new and old paths are NUL-terminated
- Commit:
eb7b30a1caf056832bec7619ececf88efa18f6bd
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix error handling in find_pack_for_enumeration(); pointed out by op@
- Commit:
0ab4c95723904e176687f5edc131bdf422dd261a
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
Bring back object enumeration inside got-read-pack as a fast path.
The problem that was found in the earlier version has been fixed.
ok op@
- Commit:
85c34e74e98435d0ebb99360b18587411a652741
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix error case handling in print_commit_oneline(); pointed out by op@
- Commit:
61dd0f65df684a93379cfa4c195ba43ee493bfc7
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
remove outdated and overly-specific documentation of got log -s output
ok op@
- Commit:
783ffc01fc5be0775c44984236ac9f1d1d0ad581
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
adjust expected test output after got log -s changes
ok op@
- Commit:
d91e053539d7b792ea587fe510d514642396db55
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
make got log -s show committer date
ok op@
- Commit:
4cac2b4e3f60c45b2a6550d4b15730d172eab925
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
make got log -s display local reference names
ok op@
- Commit:
83cc419999b834998fd2a5e5347a8c6226c03f9c
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
in tog, rework Ctrl+u/d to scroll by half a page, and drop d/u again
This matches actual behaviour of less(1) for Ctrl+u/d, and leaves d/u
free for potential future use. Suggested by naddy.
Patch by Mark Jamsek
- Commit:
793b939450f25c2e96cd312e618683f2517c7058
- From:
- Omar Polo <op@omarpolo.com>
- Date:
got log: sync match_commit from tog
So that 'got log -S' can match also the author and committer name, and
the commit ID too.
ok stsp@
- Commit:
80b7e8dae89b7912b88913f686ea0a23bd763a8d
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add less(1)-style key bindings for up/down to tog; patch by Mikhail
- Commit:
3ef807eedd4fec23cf457ea7cd55bc01407d57b9
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
reword description of how got log -p and -P interact with got log -S
- Commit:
a558dd1be5714d8e7a83f7d63180550e86ccae5c
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
reuse a temporary file across commits during got log -p -S
suggested by + ok op@
- Commit:
ee0fb1ff2261d82ca1d25edbb6db0359b589779d
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
make it possible to match committed patches with got log -p -S pattern
ok op@
- Commit:
caea18c125f0af78695c65c39df455945a769e34
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add a missing .Pp to got.1
- Commit:
90e25b1fb888319a60c666995286e204ed5fe0ae
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
plug a memory leak in show_change(), line was leaked
- Commit:
c1c775ebf431921ec88711e07b197edd07e05bb5
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add one-line output mode to got log with -s flag
-s for short. Moves log search to -S.
Patch by Evan Silberman
- Commit:
e44d939152693c16e95d2855b539ad6b30e81b15
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
revert object enumeration in got-read-pack for now; needs more work
This implementation marked commits and trees as enumerated before all trees
which they depend on were enumerated. This behaviour leads to incomplete
pack files when a tree is only partially packed and got-read-pack hits
a missing tree entry as a result. The algorithm must be reworked such
that packed leave nodes are marked enumerated first, then bubble-up.
Found by op@
- Commit:
0e90588fc653d9ef0965c9420e8c39f615393b0d
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
in enumeration_request(), use the correct index for tagged commit objects
Fixes an error where got-read-pack errors out with "bad object data"
during 'got send' because we ended up handing a tag object to the
commit object parser.
- Commit:
9f4f302a43f7e186910d59f9dbe0f839b6f2d565
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
free id and path in load_packed_tree_ids() on error, else they would leak
pointed out by op@
- Commit:
f09728336c4d35bfa49210e640b1ceb8989fe3d5
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix wrong line wrap; pointed out by op@