undo: always collect history of the file
commit3260eed4ea6a17bab8a587c35da7d597cfff6c1e
authorSimon Schubert <simon.schubert@epfl.ch>
Wed, 20 May 2009 15:39:37 +0000 (20 17:39 +0200)
committerSimon Schubert <simon.schubert@epfl.ch>
Wed, 20 May 2009 15:40:10 +0000 (20 17:40 +0200)
treec4931830de77b307bc7c5aea7638b51a35b0f138
parent436d89b820be2ddd8dacf96dd4430ca51ceef56f
undo: always collect history of the file

Commit b9a33d3fb1235626615b96b4b586ce7a7b8386fd added file histories based
on the history of the parent directory, in order to list history fragments
even when the inode changed.  However it failed to collect the history for
the most recent version of the file.  As a result, if all versions of the
parent directory happened to preceed the oldest version of the file, undo
would not collect any history for the file and fail with error 0.

Unconditionally include the history of the file to fix this problem.
usr.bin/undo/undo.c