[Python-Dev] PEP: Collecting information about git (original) (raw)
Augie Fackler raf at durin42.com
Wed Sep 16 04:14:55 CEST 2015
- Previous message (by thread): [Python-Dev] PEP: Collecting information about git
- Next message (by thread): [Python-Dev] PEP: Collecting information about git
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Chris Angelico <rosuav gmail.com> writes:
On Wed, Sep 16, 2015 at 5:44 AM, Augie Fackler <raf durin42.com> wrote: >> but git is still better at it:
git add -p
>> allows me to review and edit patches before commit whilehg record
>> commits immediately. > > FWIW, I totally get wanting a staging area. That said, other than the > staging area, record (aka commit --interactive) and git add -p are identical > functionality-wise. We also now ship (at least as of 3.5) a curses UI for > record, which is quite nice. Looks like it's time I spun up my own hg, rather than using the 3.1.2 that ships with Debian.
Clone https://selenic.com/hg and run make deb
- it's not quite done
(doesn't include system configs for using the ca-certificates files for ssl
trust), but it should give you usable debs on your system. Please let me
know if it doesn't work for you!
(Note that I'm not subbed to python-devel, so you'll get faster service by leaving me cc'ed on the thread.)
A better UI for interactive (partial) commits would go a long way toward filling the hole left by not having a staging area; though I'll still miss it, some, in the most complicated cases (where I use 'git gui' to stage and unstage bits, then check in 'gitk' that it looks right, continue until happy). Fortunately the complicated cases are rare, but when my non-technical mother or my technical-but-decades-out-of-date father needs help fixing up a repository problem, I make good use of git's staging power.
Mentioning in the PEP that some of these things are available as of version X might help bridge the gap between one author's knowledge and a core dev's skills. ChrisA
- Previous message (by thread): [Python-Dev] PEP: Collecting information about git
- Next message (by thread): [Python-Dev] PEP: Collecting information about git
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]