1
0
mirror of https://github.com/git/git.git synced 2024-10-18 14:38:11 +02:00
git/t/unit-tests
Junio C Hamano 4216329457 Merge branch 'ps/no-writable-strings'
Building with "-Werror -Wwrite-strings" is now supported.

* ps/no-writable-strings: (27 commits)
  config.mak.dev: enable `-Wwrite-strings` warning
  builtin/merge: always store allocated strings in `pull_twohead`
  builtin/rebase: always store allocated string in `options.strategy`
  builtin/rebase: do not assign default backend to non-constant field
  imap-send: fix leaking memory in `imap_server_conf`
  imap-send: drop global `imap_server_conf` variable
  mailmap: always store allocated strings in mailmap blob
  revision: always store allocated strings in output encoding
  remote-curl: avoid assigning string constant to non-const variable
  send-pack: always allocate receive status
  parse-options: cast long name for OPTION_ALIAS
  http: do not assign string constant to non-const field
  compat/win32: fix const-correctness with string constants
  pretty: add casts for decoration option pointers
  object-file: make `buf` parameter of `index_mem()` a constant
  object-file: mark cached object buffers as const
  ident: add casts for fallback name and GECOS
  entry: refactor how we remove items for delayed checkouts
  line-log: always allocate the output prefix
  line-log: stop assigning string constant to file parent buffer
  ...
2024-06-17 15:55:58 -07:00
..
.gitignore
t-ctype.c
t-example-decorate.c t/: migrate helper/test-example-decorate to the unit testing framework 2024-05-28 13:53:36 -07:00
t-hash.c t/: migrate helper/test-{sha1, sha256} to unit-tests/t-hash 2024-05-29 09:11:41 -07:00
t-mem-pool.c
t-prio-queue.c
t-reftable-basics.c Merge branch 'ps/no-writable-strings' 2024-06-17 15:55:58 -07:00
t-strbuf.c global: improve const correctness when assigning string constants 2024-06-07 10:30:48 -07:00
t-strcmp-offset.c
t-strvec.c t-strvec: mark variable-arg helper with LAST_ARG_MUST_BE_NULL 2024-05-30 08:55:29 -07:00
t-trailer.c
test-lib.c strvec: add functions to replace and remove strings 2024-05-27 11:20:02 -07:00
test-lib.h strvec: add functions to replace and remove strings 2024-05-27 11:20:02 -07:00