git-rev-list diff options broken

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Han-Wen Nienhuys
Date: Tuesday, November 6, 2007 - 3:14 pm

Hi,

the git-rev-list manpage says


**
Diff Formatting
~~~~~~~~~~~~~~~

Below are listed options that control the formatting of diff output.
Some of them are specific to gitlink:git-rev-list[1], however other diff
options may be given. See gitlink:git-diff-files[1] for more options.
**

however, the source code says


	if ((!list &&
	     (!(revs.tag_objects||revs.tree_objects||revs.blob_objects) &&
	      !revs.pending.nr)) ||
	    revs.diff)
		usage(rev_list_usage);

so any attempt at showing diffs with git-rev-list will fail. What's
the deal with this?


-- 
Han-Wen Nienhuys - hanwen@xs4all.nl - http://www.xs4all.nl/~hanwen
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
git-rev-list diff options broken, Han-Wen Nienhuys, (Tue Nov 6, 3:14 pm)
Re: git-rev-list diff options broken, Han-Wen Nienhuys, (Tue Nov 6, 3:15 pm)
Re: git-rev-list diff options broken, Johannes Schindelin, (Tue Nov 6, 4:33 pm)
Re: git-rev-list diff options broken, Han-Wen Nienhuys, (Tue Nov 6, 4:38 pm)
Re: git-rev-list diff options broken, Johannes Schindelin, (Tue Nov 6, 4:55 pm)