[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: git apologia
From: |
Thien-Thi Nguyen |
Subject: |
Re: git apologia |
Date: |
Tue, 18 Nov 2014 09:58:25 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
() Eli Zaretskii <address@hidden>
() Mon, 17 Nov 2014 18:41:50 +0200
What's more natural than asking for
the Nth previous commit?
Personally, i use ‘git-show-branch’ and ‘more-vc-git-show’
(sample output and definitions attached) and additionally
bind ‘C-c C-s’ to the latter in compilation mode buffers.
Directory: ~/build/GNU/guile-sdl/
! [ack] Release: 0.5.1
! [p] Fix typo: Spell "compatib..." correctly!
! [q] Fix typo: Spell "compatib..." correctly!
* [q-fix-k2c] also pass ‘DEFS’ and ‘SDL_CFLAGS’ to k2c, via new var ‘cppopts’
! [z-gfx-font] Add ‘set-font!’ and ‘builtin-font’.
-----
* [q-fix-k2c] also pass ‘DEFS’ and ‘SDL_CFLAGS’ to k2c, via new var
‘cppopts’
* [q-fix-k2c^] make k2c handle command-line ‘-- CFLAGS’
* [q-fix-k2c~2] bootstrap w/ Guile-BAUX module ‘minus-i-dirs’
++* [p] Fix typo: Spell "compatib..." correctly!
+ [z-gfx-font] Add ‘set-font!’ and ‘builtin-font’.
+++*+ [ack] Release: 0.5.1
git-show-branch.el
Description: application/emacs-lisp
more-vc.el
Description: application/emacs-lisp
This way i don't need to count anything and stuff before
the earliest branch (in the example, ‘ack’) is never shown
to begin w/; instead, i move point to a ref (e.g., branch
name in square braces, or SHA1) and type ‘C-c C-s’.
That's most natural to me. The compilation mode support
is to be able to likewise type ‘C-s C-s’ in *compilation*
on arbitrary shell command output (e.g., "git stash list"
or "git log --oneline -42").
The crux is func ‘more-vc-ref-at-point’, which could stand
to be improved, surely...
Anyway, i find "git log" to be only marginally useful (see
my previous grumblings re ChangeLog grepping) but that
will probably change, seeing where things are headed.
Nonetheless, i don't think manually counting commits will
ever be part of my workflow.
--
Thien-Thi Nguyen
GPG key: 4C807502
(if you're human and you know it)
read my lisp: (responsep (questions 'technical)
(not (via 'mailing-list)))
=> nil
signature.asc
Description: PGP signature
- Re: git apologia, (continued)
- Re: git apologia, Teemu Likonen, 2014/11/16
- Re: git apologia, Stephen J. Turnbull, 2014/11/16
- Re: git apologia, Eli Zaretskii, 2014/11/17
- Re: git apologia, Andreas Schwab, 2014/11/17
- Re: git apologia, Eli Zaretskii, 2014/11/17
- Re: git apologia, David Kastrup, 2014/11/17
- Re: git apologia, Achim Gratz, 2014/11/17
- Re: git apologia, Yuri Khan, 2014/11/17
- Re: git apologia,
Thien-Thi Nguyen <=
- Re: git apologia, John Yates, 2014/11/18
- Re: git apologia, Thien-Thi Nguyen, 2014/11/18
- Re: git apologia, Andreas Schwab, 2014/11/18
- Re: git apologia, Barry Warsaw, 2014/11/18
- Re: git pull fails with merge conflicts. How can this possibly happen?, Sergey Organov, 2014/11/17
- Re: git pull fails with merge conflicts. How can this possibly happen?, Eli Zaretskii, 2014/11/17
- Re: git pull fails with merge conflicts. How can this possibly happen?, David Kastrup, 2014/11/17
- Re: git pull fails with merge conflicts. How can this possibly happen?, Sergey Organov, 2014/11/17
- Re: git pull fails with merge conflicts. How can this possibly happen?, Glenn Morris, 2014/11/17
- Re: git pull fails with merge conflicts. How can this possibly happen?, Alan Mackenzie, 2014/11/18