ledger-mode icon indicating copy to clipboard operation
ledger-mode copied to clipboard

Ignore generated doc/ledger-mode.info

Open league opened this issue 4 years ago • 1 comments

Extraordinarily minor, but this is an attempt to be friendlier to the borg package manager for emacs. Borg uses git submodules, and if you configure it to find the doc directory like this:

[submodule "ledger-mode"]
	path = lib/ledger-mode
	url = [email protected]:ledger/ledger-mode.git
	info-path = doc

then it will build the .info file and configure the Emacs info path to find it, so you're reading it in-place in the submodule's working directory. (It doesn't get installed elsewhere.)

But then that .info file sitting there makes the submodule working directory appear "dirty", so whenever we're updating submodules it has to be worked around, or added to user's global ignore file. Thanks!

league avatar Jul 20 '21 15:07 league

@league is this still required?

jdek avatar Mar 19 '24 20:03 jdek

@jdek No, closing. My work-around was to add *.info to global git ignore, then it covers other projects too. (If git is already tracking the .info in some project, then the ignore declaration is ignored.) Thanks.

league avatar May 22 '24 16:05 league