Uwe Brauer <o...@mat.ucm.es> writes:

> Currently (taking auctex https://www.gnu.org/software/auctex/ as an
> example) I obtain using
>
> git blame tex.el
>
> f7c0c735d (Tassilo Horn                   2020-09-04     1) ;;; tex.el 
> fedf75103 (Per Abrahamsen                 1994-04-07     2) 
> 4b1c7015a (Ikumi Keita 2022-03-19 3) ;; Copyright (C) 1985-2022
> f23d8867d (Ralf Angeli                    2004-05-02     4) 
> 5b40e9b1b (David Kastrup 2005-03-28 5) ;; Maintainer: auctex-de...@gnu.org
> 7e5d40a53 (David Kastrup                  2003-02-15    14) 
>
>
> But I would like to have something like this
>
> master~2   (Tassilo Horn                 2020-09-04     1) ;;; tex.el --- 
> master~100 (Per Abrahamsen               1994-04-07     2) 
> master~40 (Ikumi Keita 2022-03-19 3) ;; Copyright (C) 1985-2022
> master~10  (Ralf Angeli                  2004-05-02     4) 
> master~5 (David Kastrup 2005-03-28 5) ;; Maintainer: auctex-de...@gnu.org
> master~100 (David Kastrup                2003-02-15    14) 

Here we go:

--8<---------------cut here---------------start------------->8---
auctex on  master took 7s 
❯ git blame -l tex.el | git name-rev --refs=master --name-only --annotate-stdin 
| head
master~624 (Tassilo Horn                   2020-09-04 17:19:57 +0200     1) ;;; 
tex.el --- Support for TeX documents.  -*- lexical-binding: t; -*-
master~7709 (Per Abrahamsen                 1994-04-07 21:08:50 +0000     2) 
master~226 (Ikumi Keita                    2022-03-19 23:59:29 +0900     3) ;; 
Copyright (C) 1985-2022 Free Software Foundation, Inc.
master~5183 (Ralf Angeli                    2004-05-02 16:55:22 +0000     4) 
master~3919 (David Kastrup                  2005-03-28 02:45:27 +0000     5) ;; 
Maintainer: auctex-de...@gnu.org
master~5183 (Ralf Angeli                    2004-05-02 16:55:22 +0000     6) ;; 
Keywords: tex
master~5183 (Ralf Angeli                    2004-05-02 16:55:22 +0000     7) 
master~5183 (Ralf Angeli                    2004-05-02 16:55:22 +0000     8) ;; 
This file is part of AUCTeX.
master~5183 (Ralf Angeli                    2004-05-02 16:55:22 +0000     9) 
master~5183 (Ralf Angeli                    2004-05-02 16:55:22 +0000    10) ;; 
AUCTeX is free software; you can redistribute it and/or modify it
--8<---------------cut here---------------end--------------->8---

But as you see, it's not very useful and screws up indentation.

Bye,
Tassilo

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/git-users/87mt7oajtx.fsf%40gnu.org.

Reply via email to