1. 17 Sep, 2020 2 commits
  2. 16 Sep, 2020 2 commits
  3. 15 Sep, 2020 3 commits
  4. 14 Sep, 2020 7 commits
  5. 13 Sep, 2020 1 commit
  6. 11 Sep, 2020 7 commits
  7. 10 Sep, 2020 4 commits
  8. 09 Sep, 2020 3 commits
  9. 27 Aug, 2020 4 commits
  10. 13 Aug, 2020 2 commits
    • Stefan Sperling's avatar
      add -s option to 'got remove' which deletes files in a particular status · 766841c2
      Stefan Sperling authored
      This makes it easy to deal with files that were deleted from disk by external
      tooling which modified the work tree. Such files are left in missing (!)
      status and can now be marked for deletion in bulk via 'got rm -s\! -R .'
      
      For consistency, modified (M) files can now be removed with 'got rm -s M'
      which implies 'got rm -f'.
      
      Prompted by feedback from krw@
      766841c2
    • Stefan Sperling's avatar
      add -s option to 'got status' which acts as a status code filter · 081470ac
      Stefan Sperling authored
      Advantages over using grep are that the list of codes is validated against
      a list of known status codes, and that it is easier to match staged files
      which can display status codes in one or both of two columns.
      
      Prompted by feedback from krw@
      081470ac
  11. 09 Aug, 2020 4 commits
    • Stefan Sperling's avatar
      speed up 'tog diff' get_filestream_info() a bit · ae6a6978
      Stefan Sperling authored
      With this, 'tog diff' is able to display clang 10 commits.
      However, such huge diffs still take a rather long time to open.
      
      get_filestream_info() is a hack. Ideally, diff line-offset information needed
      by tog should be part of the result of the diff operation, rather than forcing
      tog to calculate line offsets during a post-processing step.
      ae6a6978
    • Stefan Sperling's avatar
    • Stefan Sperling's avatar
      fix double-free when quitting tog's diff view; found by ofree · 0dc7faa9
      Stefan Sperling authored
          at /home/stsp/src/got/tog/tog.c:3415
      3415            free(s->line_offsets);
      (gdb) bt
          msg=0x80e2a4cd87e "chunk is already free %p")
          at /usr/src/lib/libc/stdlib/malloc.c:300
          check=1) at /usr/src/lib/libc/stdlib/malloc.c:1070
          clear=0, check=<optimized out>, argsz=0)
          at /usr/src/lib/libc/stdlib/malloc.c:1431
          at /usr/src/lib/libc/stdlib/malloc.c:1488
          at /home/stsp/src/got/tog/tog.c:3415
          at /home/stsp/src/got/tog/tog.c:518
          at /home/stsp/src/got/tog/tog.c:954
          at /home/stsp/src/got/tog/tog.c:2728
          at /home/stsp/src/got/tog/tog.c:5683
      (gdb)
      0dc7faa9
    • Tracey Emery's avatar
      fix some memory leaks in tog · 369eef86
      Tracey Emery authored
      369eef86
  12. 08 Aug, 2020 1 commit