[Bash-completion-devel] [bash-completion-Bugs][312708] Useless kompare/cdiff completions - please remove
bash-completion-bugs at alioth.debian.org
bash-completion-bugs at alioth.debian.org
Mon Sep 13 18:26:49 UTC 2010
Bugs item #312708, was changed at 2010-09-10 00:33 by Ville Skyttä
You can respond by visiting:
https://alioth.debian.org/tracker/?func=detail&atid=413095&aid=312708&group_id=100114
>Status: Closed
Priority: 3
Submitted By: Nobody (None)
>Assigned to: Ville Skyttä (scop-guest)
Summary: Useless kompare/cdiff completions - please remove
Distribution: --Distribution-Agnostic--
Originally reported in: None
Milestone: None
>Status: Fix Committed
Original bug number:
Initial Comment:
Anonymous message posted by reavertm at gentoo.org
Please consider reverting bc6f14445f26043c1c89cbb25caebe394fb7b03b
http://git.debian.org/?p=bash-completion/bash-completion.git;a=commitdiff;h=bc6f14445f26043c1c89cbb25caebe394fb7b03b
Rationale:
Completion accepts only .diff/.patch files while main feature of kompare is to show differences between URLs. Therefore bash-completion makes it considerably less convenient to use kompare as it disallows completion on local files. Which defeats its purpose.
$ kompare --help
Usage: kompare [Qt-options] [KDE-options] [options] [URL1 [URL2]] -
A program to view the differences between files and optionally generate a diff
Options:
-c This will compare URL1 with URL2
-o This will open URL1 and expect it to be diff output. URL1 can also be a '-' and then it will read from standard input. Can be used for instance for cvs diff | kompare -o -. Kompare will do a check to see if it can find the original file(s) and then blend the original file(s) into the diffoutput and show that in the viewer. -n disables the check.
-b This will blend URL2 into URL1, URL2 is expected to be diff output and URL1 the file or folder that the diffoutput needs to be blended into.
-n Disables the check for automatically finding the original file(s) when using '-' as URL with the -o option.
-e <encoding> Use this to specify the encoding when calling it from the command line. It will default to the local encoding if not specified.
Arguments:
URL1 [URL2]
-
----------------------------------------------------------------------
>Comment By: Ville Skyttä (scop-guest)
Date: 2010-09-13 21:26
Message:
Thanks for the heads up, kompare completion dropped in git.
However I don't see any rationale here for dropping cdiff completion and I believe it is still quite useful, so that's still in.
----------------------------------------------------------------------
You can respond by visiting:
https://alioth.debian.org/tracker/?func=detail&atid=413095&aid=312708&group_id=100114
More information about the Bash-completion-devel
mailing list