OpenBSD CVS

CVS log for src/usr.bin/mg/file.c


[BACK] Up to [local] / src / usr.bin / mg

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: OPENBSD_5_2_BASE


Revision 1.81 / (download) - annotate - [select for diffs], Mon Jun 18 09:19:21 2012 UTC (11 years, 11 months ago) by lum
Branch: MAIN
CVS Tags: OPENBSD_5_2_BASE, OPENBSD_5_2
Changes since 1.80: +5 -7 lines
Diff to previous 1.80 (colored)

Removing this 'if' statement allows dired buffers to not have their
forward and backward line pointers pointing to the same line, causing
mg to spin when asked to split the window. This happens if a directory
is opened via the command line sequentially first, and other windows
need to opened afterwards (for other files).

Since the information within this 'if' statement is updated later for
files and directories I can see no problem with removing this. No
regressions viewable either.

Problem reported by and diff tested by jasper@

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.