diff --git a/src/renderer/src/components/right-sidebar/GitHistoryPanel.tsx b/src/renderer/src/components/right-sidebar/GitHistoryPanel.tsx
index 5442ebe9e..64e0c952f 100644
--- a/src/renderer/src/components/right-sidebar/GitHistoryPanel.tsx
+++ b/src/renderer/src/components/right-sidebar/GitHistoryPanel.tsx
@@ -295,7 +295,7 @@ export function GitHistoryPanel({
{!collapsed && (
- Graph
+ Commits
{result && {count}}
{result?.hasMore && +}
@@ -327,7 +327,7 @@ export function GitHistoryPanel({
variant="ghost"
size="icon-xs"
className="my-auto h-auto w-auto p-0.5 text-muted-foreground hover:bg-transparent hover:text-muted-foreground dark:hover:bg-transparent [&_svg]:size-3"
- aria-label="What are graph refs?"
+ aria-label="What are refs?"
onClick={(event) => {
event.stopPropagation()
}}
@@ -355,13 +355,13 @@ export function GitHistoryPanel({
}
onRefresh()
}}
- aria-label="Refresh graph"
+ aria-label="Refresh commits"
>
- Refresh graph
+ Refresh commits
diff --git a/src/renderer/src/components/right-sidebar/SourceControl.tsx b/src/renderer/src/components/right-sidebar/SourceControl.tsx
index 1a40cb58d..9ea85f66b 100644
--- a/src/renderer/src/components/right-sidebar/SourceControl.tsx
+++ b/src/renderer/src/components/right-sidebar/SourceControl.tsx
@@ -3610,7 +3610,7 @@ function SourceControlInner(): React.JSX.Element {
if (gitHistoryRequestByWorktreeRef.current[worktreeId] !== requestId) {
return
}
- const message = error instanceof Error ? error.message : 'Failed to load git graph'
+ const message = error instanceof Error ? error.message : 'Failed to load commits'
setGitHistoryByWorktree((prev) => {
const previous = prev[worktreeId]
return {
@@ -3650,7 +3650,7 @@ function SourceControlInner(): React.JSX.Element {
useEffect(() => {
// Why: history shells out to git. Defer the first load until the user
- // expands Graph so source control stays cheap for large/remote repos.
+ // expands Commits so source control stays cheap for large/remote repos.
if (!isBranchVisible || !isGitHistoryExpanded || !isGitHistoryVisible) {
return
}