git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [JGIT PATCH 0/6] Add prune of stale tracking branches to fetch
@ 2009-02-12 23:54 Shawn O. Pearce
  2009-02-12 23:54 ` [JGIT PATCH 1/6] Fix RefUpdate.delete to update the result status Shawn O. Pearce
  2009-02-13  0:37 ` [JGIT PATCH 0/6] Add prune of stale tracking branches to fetch Junio C Hamano
  0 siblings, 2 replies; 10+ messages in thread
From: Shawn O. Pearce @ 2009-02-12 23:54 UTC (permalink / raw)
  To: Robin Rosenberg; +Cc: git

This series teaches "jgit fetch" how to prune stale tracking branches
that have been removed from the remote repository.  We can now do
both a fetch and a prune in a single network connection.

I wanted to also add this for push, but its going to be more complex.
The RefSpec data I need isn't available in the PushProcess code path,
and the Transport.push() method isn't doing me any favors at making
it available to me.

I need to move on to some other things today, so I'm posting this
fetch series now as this looks good as-is.

Shawn O. Pearce (6):
  Fix RefUpdate.delete to update the result status
  Add setBoolean, setInt to RepositoryConfig
  Add RefSpec.expandFromDestination for reverse mappings
  Add the remote.name.mirror flag to RemoteConfig
  Don't pass TagOpt to FetchProcess, get it from the Transport
  Teach fetch to prune stale tracking branches

 .../org/spearce/jgit/pgm/AbstractFetchCommand.java |    8 ++-
 .../src/org/spearce/jgit/pgm/Fetch.java            |    9 +++
 .../spearce/jgit/transport/RefSpecTestCase.java    |   22 ++++++
 .../src/org/spearce/jgit/lib/RefUpdate.java        |    4 +-
 .../src/org/spearce/jgit/lib/RepositoryConfig.java |   57 +++++++++++++++
 .../org/spearce/jgit/transport/FetchProcess.java   |   55 +++++++++++++--
 .../src/org/spearce/jgit/transport/RefSpec.java    |   73 ++++++++++++++------
 .../org/spearce/jgit/transport/RemoteConfig.java   |   40 +++++++++++-
 .../src/org/spearce/jgit/transport/Transport.java  |   29 ++++++++-
 9 files changed, 265 insertions(+), 32 deletions(-)

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

end of thread, other threads:[~2009-02-13  0:49 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-12 23:54 [JGIT PATCH 0/6] Add prune of stale tracking branches to fetch Shawn O. Pearce
2009-02-12 23:54 ` [JGIT PATCH 1/6] Fix RefUpdate.delete to update the result status Shawn O. Pearce
2009-02-12 23:54   ` [JGIT PATCH 2/6] Add setBoolean, setInt to RepositoryConfig Shawn O. Pearce
2009-02-12 23:54     ` [JGIT PATCH 3/6] Add RefSpec.expandFromDestination for reverse mappings Shawn O. Pearce
2009-02-12 23:54       ` [JGIT PATCH 4/6] Add the remote.name.mirror flag to RemoteConfig Shawn O. Pearce
2009-02-12 23:54         ` [JGIT PATCH 5/6] Don't pass TagOpt to FetchProcess, get it from the Transport Shawn O. Pearce
2009-02-12 23:54           ` [JGIT PATCH 6/6] Teach fetch to prune stale tracking branches Shawn O. Pearce
2009-02-13  0:37 ` [JGIT PATCH 0/6] Add prune of stale tracking branches to fetch Junio C Hamano
2009-02-13  0:42   ` Shawn O. Pearce
2009-02-13  0:48     ` Junio C Hamano

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).