Your message dated Fri, 9 May 2014 00:23:46 +0200
with message-id <[email protected]>
and subject line Actually, the bug is in your usage of quilt
has caused the Debian Bug report #702408,
regarding quilt: option --color is not accepted everywhere
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
702408: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=702408
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: quilt
Version: 0.60-7
Severity: normal

PROBLEM

    $ quilt --color=always push 
    ... works

    $ quilt --color=always pop 
    ... nope, *this* command does not accept --color

SUGGESTION

Please accept option --color for every command even if it would do
nothing with it (yet). By accepting the option, it would be possible
to make handy aliases:

     alias q="quilt --color=always"

One could also write scripts in a uniform manner:

     #/bin/sh
     ...
     quilt $color_option $cmd

Now the commands need cubersome handling to turn colors on or off.

-- System Information:
Debian Release: 7.0
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.5-trunk-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_DK.UTF-8, LC_CTYPE=en_DK.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages quilt depends on:
ii  bsdmainutils  9.0.3
ii  bzip2         1.0.6-4
ii  diffstat      1.55-3
ii  gettext       0.18.1.1-9
ii  patch         2.6.1-3
ii  perl          5.14.2-18

Versions of packages quilt recommends:
ii  less  444-4

Versions of packages quilt suggests:
ii  exim4-daemon-heavy [mail-transport-agent]  4.80-7
ii  graphviz                                   2.26.3-12
ii  procmail                                   3.22-20

-- no debconf information

--- End Message ---
--- Begin Message ---
Hello Jari,

thanks for the feedback on this bug, but I think that making all
commands accept the --color flag even if they don't use it would be
wrong. Actually, you can already setup the colors in quilt. Simply,
instead of using a bash alias, you should use a ~/.quiltrc file.

Here is mine for example:

QUILT_DIFF_ARGS="--color --show-c-function -p"
QUILT_SERIES_ARGS="--color"
QUILT_REFRESH_ARGS="-p ab --diffstat"
QUILT_NO_DIFF_TIMESTAMPS=1

With the 2 first, I get the colors each time I use quilt diff or quilt
series. That usage is hinted in the man page, and rather explicit in
/usr/share/doc/quilt/examples/quilt.quiltrc

Bye, Mt.

-- 
Never trust a programmer in a suit.

Attachment: signature.asc
Description: Digital signature


--- End Message ---

Reply via email to