Skip to content

Classify {branches,remotes}-file as fringe features

Ramkumar Ramachandra git 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest14 patches 10 repliesIn review

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/14t/t5505-remote: modernize stylet/t5505-remote.sh+440 -3732 replies
2/14t/t5505-remote: test push-refspec in branches-filet/t5505-remote.sh+2 -10 replies
3/14t/t5505-remote: use test_path_is_missingt/t5505-remote.sh+2 -20 replies
4/14t/t5505-remote: remove dependency on $origin_urlt/t5505-remote.sh+4 -60 replies
5/14remote: remove dead code in read_branches_file()remote.c+3 -231 reply
6/14t/t5505-remote: test url-with-# in branches-filet/t5505-remote.sh+18 -40 replies
7/14t/t5516-fetch-push: don't use branches-filet/t5516-fetch-push.sh+12 -40 replies
8/14ls-remote doc: fix example invocation on git.gitDocumentation/git-ls-remote.txt+0 -13 replies
9/14ls-remote doc: rewrite <repository> paragraphDocumentation/git-ls-remote.txt+3 -30 replies
10/14ls-remote doc: don't encourage use of branches-fileDocumentation/git-ls-remote.txt+2 -20 replies
11/14t/t5505-remote: test multiple push/pull in remotes-filet/t5505-remote.sh+14 -23 replies
12/14t/t5510-fetch: don't use remotes-filet/t5510-fetch.sh+3 -60 replies
13/14t/t5515-fetch-merge-logic: don't use {branches,remotes}-filet/t5515-fetch-merge-logic.sh+13 -151 reply
14/14remote: add comment about read_{branches,remotes}_fileremote.c+8 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 00/14] Classify {branches,remotes}-file as fringe features

Hi,

Since I didn't explain the series properly last time: this series reduces the burden of the branches-file/remotes-file cruft. It does not argue for deprecation, because it is still useful to some people and harms nobody. It removes dead code, tests the feature properly, and doesn't mention it in obscure places.

In this iteration, [1/14] does a file-wide style cleanup (wasn't as painful as I thought). Also, one s/git config/test_config/ patch has been dropped because it adds no value. This time, I actually ran all the tests to make sure that I made no silly mistakes (there were quite a few last time).

Thanks to Junio and Eric Sunshine for reviews.

Ramkumar Ramachandra (14):
t/t5505-remote: modernize style
t/t5505-remote: test push-refspec in branches-file t/t5505-remote: use test_path_is_missing t/t5505-remote: remove dependency on $origin_url
remote: remove dead code in read_branches_file() t/t5505-remote: test url-with-# in branches-file t/t5516-fetch-push: don't use branches-file ls-remote doc: fix example invocation on git.git ls-remote doc: rewrite <repository> paragraph ls-remote doc: don't encourage use of branches-file t/t5505-remote: test multiple push/pull in remotes-file t/t5510-fetch: don't use remotes-file t/t5515-fetch-merge-logic: don't use {branches,remotes}-file
remote: add comment about read_{branches,remotes}_file

 Documentation/git-ls-remote.txt |  11 +-
 remote.c                        |  34 +-
 t/t5505-remote.sh               | 852 ++++++++++++++++++++++------------------
 t/t5510-fetch.sh                |   9 +-
 t/t5515-fetch-merge-logic.sh    |  28 +-
 t/t5516-fetch-push.sh           |  16 +-
 6 files changed, 516 insertions(+), 434 deletions(-)
Signature · 1 line
1.8.3.1.498.gacf2885