List for cgit developers and users
 help / color / mirror / Atom feed
* Typo introduced #2f50b47
@ 2024-08-03 21:52 Alexander Pickering
  2024-08-04  3:01 ` Kian Kasad
  0 siblings, 1 reply; 5+ messages in thread
From: Alexander Pickering @ 2024-08-03 21:52 UTC (permalink / raw)
  To: cgit


[-- Attachment #1.1: Type: text/plain, Size: 807 bytes --]

Hi all,

Thanks for cgit, it's great! I have cgit occasionally (re-)compiling on 
a Debian 11 system with gcc, today it errored in scan-tree.c on the 
master branch. My setup script is:

	git clone https://git.zx2c4.com/cgit
	cd cgit
	git submodule init
	git submodule update
	make
	make install


I got the error

	../scan-tree.c:57:65: error: parameter name omitted
    57 | ic int gitconfig_config(const char *key, const char *value,
		const struct config_context *, void *cb)

I think this line

	static int gitconfig_config(const char *key, const char *value, const 
struct config_context *, void *cb)

should be
	
	static int gitconfig_config(const char *key, const char *value, void *cb)

If I make this change, it compiles and seems to work as expected.

Best,
Alex

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 495 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-08-04 18:46 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-08-03 21:52 Typo introduced #2f50b47 Alexander Pickering
2024-08-04  3:01 ` Kian Kasad
2024-08-04  3:18   ` [PATCH] Fix error caused by missing parameter name Kian Kasad
2024-08-04  6:17     ` Денис Пронин
2024-08-04 18:43       ` [PATCH v2] " Kian Kasad

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).