list mirror (unofficial, one of many)
 help / color / mirror / code / Atom feed
* cat-file ambiguity prints "dangling"
@ 2019-01-18  3:38 Eric Wong
  2019-01-18  4:46 ` David Turner
  0 siblings, 1 reply; 8+ messages in thread
From: Eric Wong @ 2019-01-18  3:38 UTC (permalink / raw)
  To: David Turner; +Cc: git

Hi David,

Perhaps I'm confused, the cat-file manpage seems to indicate
"dangling" only gets printed if I use "--follow-symlinks".

However, I'm not using "--follow-symlinks" and I get
"dangling" when passing ambiguous object IDs:

Trying to check the ambiguous "dead" against git.git, I get:

	$ echo dead | git cat-file --batch-check 2>/dev/null
	dangling 4

Is the above intended?

stderr shows the ambiguity and gives me hints, which is expected.


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

end of thread, other threads:[~2019-01-30 21:33 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-18  3:38 cat-file ambiguity prints "dangling" Eric Wong
2019-01-18  4:46 ` David Turner
2019-01-18 10:45   ` Eric Wong
2019-01-18 16:20     ` David Turner
2019-01-18 22:26       ` [PATCH] t1512: test ambiguous cat-file --batch and --batch-output Eric Wong
2019-01-18 22:29         ` David Turner
2019-01-23 11:11         ` SZEDER Gábor
2019-01-30 21:33           ` [PATCH v2] " Eric Wong list mirror (unofficial, one of many)

This inbox may be cloned and mirrored by anyone:

	git clone --mirror
	git clone --mirror http://ou63pmih66umazou.onion/git
	git clone --mirror http://czquwvybam4bgbro.onion/git
	git clone --mirror http://hjrcffqmbrq6wope.onion/git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V1 git git/ \
	public-inbox-index git

Example config snippet for mirrors.
Newsgroups are available over NNTP:
 note: .onion URLs require Tor:

code repositories for project(s) associated with this inbox:

AGPL code for this site: git clone