git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH 00/12] Kill the_index part2, header file cleanup

From
Duy Nguyen <pclouds@gmail.com>
Date
Jul 21, 2018, 09:06 UTC
Message-ID
<CACsJy8Am4bWKziBV6-J+c+Kz4u-rkotgZiorhvHOfy2K5cMBvg@mail.gmail.com>
In-Reply-To
<20180630092031.29910-1-pclouds@gmail.com>
On Sat, Jun 30, 2018 at 11:20 AM Nguyễn Thái Ngọc Duy <pclouds@gmail.com> wrote:
Show 5 quoted lines
>
> Like part 1 this is also boring. I wanted to drop these 'extern'
> everywhere actually, so before I touched any header file in this
> series, I did a clean up first. This is the result (and to reduce diff
> noise later)

Junio, part1 of the "kill the_index" series is dropped, but what about this one? I think it's still a good cleanup and it only slightly conflicts with 'pu'.

Show 32 quoted lines
>
> Nguyễn Thái Ngọc Duy (12):
>   apply.h: drop extern on func declaration
>   attr.h: drop extern from function declaration
>   blame.h: drop extern on func declaration
>   cache-tree.h: drop extern from function declaration
>   convert.h: drop 'extern' from function declaration
>   diffcore.h: drop extern from function declaration
>   diff.h: remove extern from function declaration
>   line-range.h: drop extern from function declaration
>   rerere.h: drop extern from function declaration
>   repository.h: drop extern from function declaration
>   revision.h: drop extern from function declaration
>   submodule.h: drop extern from function declaration
>
>  apply.h      |  23 +++++-----
>  attr.h       |  24 +++++------
>  blame.h      |  28 ++++++------
>  cache-tree.h |   2 +-
>  convert.h    |  56 ++++++++++++------------
>  diff.h       | 120 +++++++++++++++++++++++++--------------------------
>  diffcore.h   |  50 ++++++++++-----------
>  line-range.h |  12 +++---
>  repository.h |  25 +++++------
>  rerere.h     |  14 +++---
>  revision.h   |  69 ++++++++++++++---------------
>  submodule.h  | 112 +++++++++++++++++++++++------------------------
>  12 files changed, 269 insertions(+), 266 deletions(-)
>
> --
> 2.18.0.rc2.476.g39500d3211
>
-- 
Duy
Previous: Brandon WilliamsNext: Duy Nguyen
Message 15 of 17 in “Kill the_index part2, header file cleanup”
  1. 00/12 Kill the_index part2, header file cleanupNguyễn Thái Ngọc Duy, Jun 30, 2018
  2. 02/12 attr.h: drop extern from function declarationNguyễn Thái Ngọc Duy, Jun 30, 2018
  3. 01/12 apply.h: drop extern on func declarationNguyễn Thái Ngọc Duy, Jun 30, 2018
  4. 03/12 blame.h: drop extern on func declarationNguyễn Thái Ngọc Duy, Jun 30, 2018
  5. 05/12 convert.h: drop 'extern' from function declarationNguyễn Thái Ngọc Duy, Jun 30, 2018
  6. 06/12 diffcore.h: drop extern from function declarationNguyễn Thái Ngọc Duy, Jun 30, 2018
  7. 04/12 cache-tree.h: drop extern from function declarationNguyễn Thái Ngọc Duy, Jun 30, 2018
  8. 07/12 diff.h: remove extern from function declarationNguyễn Thái Ngọc Duy, Jun 30, 2018
  9. 10/12 repository.h: drop extern from function declarationNguyễn Thái Ngọc Duy, Jun 30, 2018
  10. 08/12 line-range.h: drop extern from function declarationNguyễn Thái Ngọc Duy, Jun 30, 2018
  11. 09/12 rerere.h: drop extern from function declarationNguyễn Thái Ngọc Duy, Jun 30, 2018
  12. 11/12 revision.h: drop extern from function declarationNguyễn Thái Ngọc Duy, Jun 30, 2018
  13. 12/12 submodule.h: drop extern from function declarationNguyễn Thái Ngọc Duy, Jun 30, 2018
  14. Brandon WilliamsJul 2, 2018
  15. Duy NguyenJul 21, 2018
  16. Duy NguyenAug 3, 2018
  17. Junio C HamanoAug 3, 2018

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.