Explorar el Código

[GINR] Refs called hideme should not appear in user feed

cgars hace 7 años
padre
commit
19cd886b23
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      routes/user/home.go

+ 2 - 2
routes/user/home.go

@@ -80,9 +80,9 @@ func retrieveFeeds(c *context.Context, ctxUser *models.User, userID int64, isPro
 
 		act.ActAvatar = unameAvatars[act.ActUserName]
 
-		// This filters annex related branches from the feed
+		// This filters branches from the feed
 		switch branch := act.RefName; branch {
-		case "synced/git-annex", "synced/master", "git-annex":
+		case "synced/git-annex", "synced/master", "git-annex", "hideme":
 			log.Trace("Ignored Ref %s for feed", branch)
 		default:
 			feeds = append(feeds, act)