Debian Bug report logs -
#860936
git-crecord: add cstage and cunstage aliases
Reply or subscribe to this bug.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, Andrew Shadura <andrewsh@debian.org>
:
Bug#860936
; Package git-crecord
.
(Sat, 22 Apr 2017 07:45:04 GMT) (full text, mbox, link).
Acknowledgement sent
to Paul Wise <pabs@debian.org>
:
New Bug report received and forwarded. Copy sent to Andrew Shadura <andrewsh@debian.org>
.
(Sat, 22 Apr 2017 07:45:04 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Package: git-crecord
Version: 20161226.0-1
Severity: wishlist
It would be nice to add the cstage and cunstage aliases, which it
appears the code supports already:
$ egrep 'argv|subcommand|action ' /usr/lib/python2.7/dist-packages/git_crecord/main.py -C2
def main():
prog = os.path.basename(sys.argv[0]).replace('-', ' ')
subcommand = prog.split(' ')[-1].replace('.py', '')
if subcommand == 'crecord':
action = 'commit or stage'
elif subcommand == 'cstage':
action = 'stage'
elif subcommand == 'cunstage':
action = 'keep staged'
parser = argparse.ArgumentParser(description='interactively select changes to %s' % action, prog=prog)
--
opts = vars(args)
if subcommand == 'cstage':
opts['index'] = True
if subcommand == 'cunstage':
opts['cached'] = True
-- System Information:
Debian Release: 9.0
APT prefers testing-debug
APT policy: (900, 'testing-debug'), (900, 'testing'), (860, 'testing-proposed-updates'), (800, 'unstable-debug'), (800, 'unstable'), (790, 'buildd-unstable'), (700, 'experimental-debug'), (700, 'experimental'), (690, 'buildd-experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 4.9.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages git-crecord depends on:
ii python-docutils 0.13.1+dfsg-2
pn python:any <none>
git-crecord recommends no packages.
git-crecord suggests no packages.
-- no debconf information
--
bye,
pabs
https://wiki.debian.org/PaulWise
[signature.asc (application/pgp-signature, inline)]
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Sun Sep 2 21:19:55 2018;
Machine Name:
beach
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.