git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH 0/7] jgit: Branch command now supports deletion

From
Charles O'Farrell <charleso@charleso.org>
Date
Aug 14, 2008, 10:13 UTC
Message-ID
<1218708829-8175-1-git-send-email-charleso@charleso.org>
Implement branch deletion for jgit, reusing previous packed-refs writing
Charles O'Farrell (7):
  Refactor of WalkRemoteObjectDatabase ref writing into common class
  Refactor of RefUpdate force to call common updateImpl instead of
    duplication
  Minor refactor of constants, including log and ROOT_DIR
  Extract lockAndWriteFile method in RefDatabase for reuse
  Added removePackedRef method to RefDatabase for packed branch
    deletion
  Added ref deletion to RefUpdate
  jgit: Added branch deletion to jgit command
 .../src/org/spearce/jgit/pgm/Branch.java           |   57 ++++++-
 .../src/org/spearce/jgit/lib/Constants.java        |    9 +
 .../src/org/spearce/jgit/lib/RefDatabase.java      |   41 ++++--
 .../src/org/spearce/jgit/lib/RefLogWriter.java     |    2 +-
 .../src/org/spearce/jgit/lib/RefUpdate.java        |  106 ++++++++----
 .../src/org/spearce/jgit/lib/RefWriter.java        |  175 ++++++++++++++++++++
 .../src/org/spearce/jgit/lib/Repository.java       |    2 +-
 .../spearce/jgit/transport/TransportAmazonS3.java  |   10 +-
 .../org/spearce/jgit/transport/TransportSftp.java  |    6 +-
 .../spearce/jgit/transport/WalkPushConnection.java |   18 ++-
 .../jgit/transport/WalkRemoteObjectDatabase.java   |  110 +-----------
 11 files changed, 374 insertions(+), 162 deletions(-)
 create mode 100644 org.spearce.jgit/src/org/spearce/jgit/lib/RefWriter.java
Next: Charles O'Farrell
Message 1 of 11 in “jgit: Branch command now supports deletion”
  1. 0/7 jgit: Branch command now supports deletionCharles O'Farrell, Aug 14, 2008
  2. 1/7 Refactor of WalkRemoteObjectDatabase ref writing into common classCharles O'Farrell, Aug 14, 2008
  3. 2/7 Refactor of RefUpdate force to call common updateImpl instead of duplicationCharles O'Farrell, Aug 14, 2008
  4. 3/7 Minor refactor of constants, including log and ROOT_DIRCharles O'Farrell, Aug 14, 2008
  5. 4/7 Extract lockAndWriteFile method in RefDatabase for reuseCharles O'Farrell, Aug 14, 2008
  6. 5/7 Added removePackedRef method to RefDatabase for packed branch deletionCharles O'Farrell, Aug 14, 2008
  7. 6/7 Added ref deletion to RefUpdateCharles O'Farrell, Aug 14, 2008
  8. 7/7 jgit: Added branch deletion to jgit commandCharles O'Farrell, Aug 14, 2008
  9. Shawn O. PearceAug 14, 2008
  10. 2/7 Refactor of RefUpdate force to call common updateImpl instead of duplicationCharles O'Farrell, Aug 15, 2008
  11. 6/7 Added ref deletion to RefUpdateCharles O'Farrell, Aug 15, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.