All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Documentation/git-update-index.txt: Remove obsolete note
@ 2011-03-30 13:01 Jakob Pfender
  2011-03-31 12:15 ` Nguyen Thai Ngoc Duy
  0 siblings, 1 reply; 5+ messages in thread
From: Jakob Pfender @ 2011-03-30 13:01 UTC (permalink / raw)
  To: git
  Cc: Junio C Hamano, torvalds, spearce, johannes.schindelin, peff,
	nico, pclouds, barkalow, chriscool, jrnieder, raa.lkml,
	Matthieu.Moy, Johannes Sixt

8dcf39 (Prevent bogus paths from being added to the index) introduced a
check for files beginning with '.', preventing path names such as
`./file`, `dir/./file` or `dir/../file` from being added. This was
reflected in the man page.

d089eba (setup: sanitize absolute and funny paths in get_pathspec())
removed this check without reflecting the change in the man page.

Signed-off-by: Jakob Pfender <jpfender@elegosoft.com>
---
  Documentation/git-update-index.txt |    6 ++----
  1 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/Documentation/git-update-index.txt 
b/Documentation/git-update-index.txt
index 1ca56c8..f0dcd1f 100644
--- a/Documentation/git-update-index.txt
+++ b/Documentation/git-update-index.txt
@@ -152,10 +152,8 @@ you will need to handle the situation manually.

  <file>::
  	Files to act on.
-	Note that files beginning with '.' are discarded. This includes
-	`./file` and `dir/./file`. If you don't want this, then use
-	cleaner names.
-	The same applies to directories ending '/' and paths with '//'
+	Note that directories ending in '/' and paths with '//' are
+	discarded.

  Using --refresh
  ---------------
-- 
1.7.0.4

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

end of thread, other threads:[~2011-04-02  8:52 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-30 13:01 [PATCH] Documentation/git-update-index.txt: Remove obsolete note Jakob Pfender
2011-03-31 12:15 ` Nguyen Thai Ngoc Duy
2011-03-31 15:18   ` Jakob Pfender
2011-03-31 21:41   ` Junio C Hamano
2011-04-02  8:52     ` Nguyen Thai Ngoc Duy

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.