[opensuse-packaging] Quilt refresh options
Hi, According to Packaging Patch Guidelines at <http://en.opensuse.org/openSUSE:Packaging_Patches_guidelines> use of quilt is exampled as follows quilt ref --s --d -p1 However neither the man page nor the quilt refresh -h provides the options --s and --d It would be nice to know what they are suppose to mean Thanks Togan -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
Hi, Togan.
quilt ref --s --d -p1
--d == --diffstat --s == --sort Best regards. 2012/9/30, Togan Muftuoglu <toganm@opensuse.org>:
Hi,
According to Packaging Patch Guidelines at <http://en.opensuse.org/openSUSE:Packaging_Patches_guidelines> use of quilt is exampled as follows
quilt ref --s --d -p1
However neither the man page nor the quilt refresh -h provides the options --s and --d
It would be nice to know what they are suppose to mean
Thanks
Togan -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
-- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
It works because quilt relies on getopt to parse the options, and getopt is happy with abbreviated long options as long as they are unambiguous. That being said, refresh accepts both --sort and --strip-trailing-whitespace so --s is definitely ambiguous. Looks like a bug in getopt. Anyway, you never know which options will be added to quilt in the future, plus spelling out the options makes it easier for the reader to understand what he/she is doing. So I have updated the wiki to mention explicit quilt options. Jean Le dimanche 30 septembre 2012 à 15:50 +0300, openSUSE user a écrit :
Hi, Togan.
quilt ref --s --d -p1
--d == --diffstat --s == --sort
Best regards.
2012/9/30, Togan Muftuoglu <toganm@opensuse.org>:
Hi,
According to Packaging Patch Guidelines at <http://en.opensuse.org/openSUSE:Packaging_Patches_guidelines> use of quilt is exampled as follows
quilt ref --s --d -p1
However neither the man page nor the quilt refresh -h provides the options --s and --d
It would be nice to know what they are suppose to mean
Thanks
Togan -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
-- Jean Delvare Suse L3 -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
participants (3)
-
Jean Delvare
-
openSUSE user
-
Togan Muftuoglu