Code

Allow ':/<oneline-prefix>' syntax to work with save_commit_buffer == 0
authorJohannes Schindelin <Johannes.Schindelin@gmx.de>
Mon, 3 Dec 2007 18:42:39 +0000 (18:42 +0000)
committerJunio C Hamano <gitster@pobox.com>
Tue, 4 Dec 2007 07:43:07 +0000 (23:43 -0800)
commit364d3e65a5da76ac51217e68b55504cd2cd154aa
treec9f3b53c99c517a2e7cae7b5cf9dae442e8734cc
parent311db37e707601ef2107d2938c0e0e0ade6e39b5
Allow ':/<oneline-prefix>' syntax to work with save_commit_buffer == 0

Earlier, ':/<oneline-prefix>' would not work (i.e. die) with commands that
set save_commit_buffer = 0, such as blame, describe, pack-objects, reflog
and bundle.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
sha1_name.c