Re: [PATCHv2 rdma-core 1/2] srp_daemon: handle SM lid change

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Dec 15, 2017 at 01:41:12PM +0100, Nicolas Morey-Chaisemartin wrote:

> I used this command  to generate the line
> $ git  log -n1 --pretty='%h (%s)' 4952e5f7df0c93d6f3972975106c5e06623a301d
> 4952e5f7 (Fix a memory leak)
> 
> Isn't the abbreviated hash supposed to be enough ?

You can put this alias in your .gitconfig to generate teh correct
format:

[alias]
        fixes = log --abbrev=12 -1 --format='Fixes: %h (\"%s\")'


And your git is older so you need to add

[core]
	abbrev = 12

To your config too.

The 8 character abbrev is known to have collisions already for
linux-kernel (but probably not in rdma-core)

Jason
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux