[PATCH 0/2] remove unused "base-offset" from tree-walk codepath

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Here are a few bonus patches I came up with while working on the
"hmm, attr magic does not seem to work with pathspec patterns?"
topic to remove a parameter that is passed around without getting
any value other than 0 (hence nobody knows if the code is correct
when the parameter is set to non-zero).

It turned out that they do not interact with the main topic in any
way, so I made it into a separate and indenendent series.

Junio C Hamano (2):
  tree-walk: lose base_offset that is never used in
    tree_entry_interesting
  tree-walk: drop unused base_offset from do_match()

 builtin/grep.c |  2 +-
 list-objects.c |  2 +-
 tree-diff.c    |  2 +-
 tree-walk.c    | 36 ++++++++++++++++++------------------
 tree-walk.h    |  2 +-
 tree.c         |  2 +-
 6 files changed, 23 insertions(+), 23 deletions(-)

-- 
2.41.0-318-g061c58647e




[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux